You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/10/19 13:40:41 UTC

[64/78] [abbrv] git commit: ISIS-537 Check for 'noVeil' CSS class before showing the veil in the global Ajax listener

ISIS-537 Check for 'noVeil' CSS class before showing the veil in the global Ajax listener


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/b850abec
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/b850abec
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/b850abec

Branch: refs/heads/master
Commit: b850abec717cc2eabd54c8c50ee3c2fa559d0ba7
Parents: 80bc388
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Oct 17 10:49:32 2014 +0300
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Oct 17 10:49:32 2014 +0300

----------------------------------------------------------------------
 .../isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/b850abec/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js
----------------------------------------------------------------------
diff --git a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js
index 8d4c01b..26df6cc 100644
--- a/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js
+++ b/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/pages/jquery.isis.wicket.viewer.js
@@ -50,7 +50,9 @@ $(document).ready(function() {
 
     /* for modal dialogs */
     Wicket.Event.subscribe(Wicket.Event.Topic.AJAX_CALL_BEFORE_SEND, function(attributes, jqXHR, settings) {
-        isisShowVeil(attributes, jqXHR, settings);
+        if (!$('#'+attributes.c).hasClass('noVeil')) {
+            isisShowVeil(attributes, jqXHR, settings);
+        }
     });
     Wicket.Event.subscribe(Wicket.Event.Topic.AJAX_CALL_COMPLETE, function(attributes, jqXHR, settings) {
         isisHideVeil(attributes, jqXHR, settings);