portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smi...@apache.org
Subject svn commit: r555150 - in /portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget: PortletWindow.js PortletWindow.src.js
Date Wed, 11 Jul 2007 03:31:08 GMT
Author: smilek
Date: Tue Jul 10 20:31:08 2007
New Revision: 555150

URL: http://svn.apache.org/viewvc?view=rev&rev=555150
Log:
increased delay time for add/remove of jetspeed.widget.ie6ZappedContentHelper node after window
drag in ie6

Modified:
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js
    portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.src.js

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js?view=diff&rev=555150&r1=555149&r2=555150
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js Tue Jul
10 20:31:08 2007
@@ -1,3 +1,5 @@
+jetspeed.widget.ie6PostDragAddDelay=60;
+jetspeed.widget.ie6PostDragRmDelay=120;
 dojo.provide("jetspeed.widget.PortletWindow");
 dojo.require("jetspeed.desktop.core");
 dojo.require("dojo.widget.*");
@@ -1055,7 +1057,7 @@
 if(this.windowPositionStatic){
 var _a5=this.domNode.parentNode;
 dojo.dom.insertAtIndex(jetspeed.widget.ie6ZappedContentHelper,_a5,0);
-dojo.lang.setTimeout(this,this._IERemoveHelper,20);
+dojo.lang.setTimeout(this,this._IERemoveHelper,jetspeed.widget.ie6PostDragRmDelay);
 }
 },_IERemoveHelper:function(){
 dojo.dom.removeNode(jetspeed.widget.ie6ZappedContentHelper);
@@ -1174,7 +1176,7 @@
 this.portlet.submitChangedWindowState();
 }
 if(dojo.render.html.ie60){
-dojo.lang.setTimeout(this,this._IEPostDrag,10);
+dojo.lang.setTimeout(this,this._IEPostDrag,jetspeed.widget.ie6PostDragAddDelay);
 }
 },titleLight:function(){
 var _b7=[];

Modified: portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.src.js
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.src.js?view=diff&rev=555150&r1=555149&r2=555150
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.src.js (original)
+++ portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.src.js Tue
Jul 10 20:31:08 2007
@@ -17,6 +17,7 @@
  * author: Steve Milek
  */
 
+jetspeed.widget.ie6PostDragAddDelay = 60; jetspeed.widget.ie6PostDragRmDelay = 120;
 dojo.provide("jetspeed.widget.PortletWindow");
 
 dojo.require("jetspeed.desktop.core");
@@ -1531,7 +1532,7 @@
         {
             var colDomNode = this.domNode.parentNode;
             dojo.dom.insertAtIndex( jetspeed.widget.ie6ZappedContentHelper, colDomNode, 0
);
-            dojo.lang.setTimeout( this, this._IERemoveHelper, 20 );
+            dojo.lang.setTimeout( this, this._IERemoveHelper, jetspeed.widget.ie6PostDragRmDelay
);
         }
     },
 
@@ -1730,7 +1731,7 @@
         if ( this.portlet && this.windowState != jetspeed.id.ACTION_NAME_MAXIMIZE
)
             this.portlet.submitChangedWindowState();
         if ( dojo.render.html.ie60 )
-            dojo.lang.setTimeout( this, this._IEPostDrag, 10 );
+            dojo.lang.setTimeout( this, this._IEPostDrag, jetspeed.widget.ie6PostDragAddDelay
);
     },
 
     titleLight: function()



---------------------------------------------------------------------
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