You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2010/02/23 16:01:30 UTC

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

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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org