Author: woonsan
Date: Tue Feb 23 15:01:29 2010
New Revision: 915366

URL: http://svn.apache.org/viewvc?rev=915366&view=rev
Log:
JS2-1057: Masking the screen to support modality

Modified:
    
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp

Modified: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp?rev=915366&r1=915365&r2=915366&view=diff
==============================================================================
--- 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
 (original)
+++ 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/spaces/page-navigator.jsp
 Tue Feb 23 15:01:29 2010
@@ -333,6 +333,10 @@
 
         nodeEditorOverlay.set("bodyContent", nodwViewWindow);
         nodeEditorOverlay.set("zIndex", 16777271);
+        var portal = (JETUI_YUI ? JETUI_YUI.getPortalInstance() : null);
+        if (portal) {
+            portal.setScreenMask(true);
+        }
         nodeEditorOverlay.render();
 
         point[0] = (windowWidth - offsetWidth) / 2;
@@ -365,6 +369,10 @@
 
     var closeNodeEditorOverlay = function(e) {
         nodeEditorOverlay.hide();
+        var portal = (JETUI_YUI ? JETUI_YUI.getPortalInstance() : null);
+        if (portal) {
+            portal.setScreenMask(false);
+        }
         e.halt();
         window.location.reload();
     };



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to