portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r554927 [3/3] - in /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop: core.js core.src.js
Date Tue, 10 Jul 2007 13:15:30 GMT
Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/core.src.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/core.src.js?view=diff&rev=554927&r1=554926&r2=554927
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/core.src.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/desktop/core.src.js Tue Jul 10
06:15:29 2007
@@ -842,6 +842,8 @@
             fromDesktop = false;
         jetspeed.page.editMode = true;
         var pageEditorWidget = dojo.widget.byId( jetspeed.id.PAGE_EDITOR_WIDGET_ID );
+        if ( dojo.render.html.ie60 )
+            jetspeed.page.displayAllPortlets( true );
         if ( pageEditorWidget == null )
         {
             try
@@ -854,6 +856,8 @@
             catch (e)
             {
                 jetspeed.url.loadingIndicatorHide();
+                if ( dojo.render.html.ie60 )
+                    jetspeed.page.displayAllPortlets();
             }
         }
         else
@@ -2159,6 +2163,22 @@
             dumpMsg += "}";
         }
         return dumpMsg;
+    },
+    displayAllPortlets: function( hideAll )
+    {
+        var portletArray = this.getPortletArray();
+        for ( var i = 0; i < portletArray.length; i++ )
+        {
+            var portlet = portletArray[i];
+            var windowWidget = portlet.getPortletWindow();
+            if ( windowWidget )
+            {
+                if ( hideAll )
+                    windowWidget.domNode.style.display = "none";
+                else
+                    windowWidget.domNode.style.display = "";
+            }
+        }
     },
     _debugDumpLastSavedWindowStateAllPortlets: function( useLastSaved )
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message