Author: smilek
Date: Mon Jul 16 21:59:58 2007
New Revision: 556811

URL: http://svn.apache.org/viewvc?view=rev&rev=556811
Log:
fixed bug where portlets in noactions layout were movable

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=556811&r1=556810&r2=556811
==============================================================================
--- 
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js 
(original)
+++ 
portals/jetspeed-2/trunk/src/webapp/javascript/jetspeed/widget/PortletWindow.js 
Mon Jul 16 21:59:58 2007
@@ -705,6 +705,7 @@
 },postCreate:function(_69,_6a,_6b){
 if(this.movable&&this.titleBar){
 this.drag=new dojo.dnd.Moveable(this,{handle:this.titleBar});
+this.setTitleBarDragging();
 }
 this.domNode.id=this.widgetId;
 this.portletInitDimensions();

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=556811&r1=556810&r2=556811
==============================================================================
--- 
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
 Mon Jul 16 21:59:58 2007
@@ -1016,6 +1016,7 @@
         if ( this.movable && this.titleBar )
         {
             this.drag = new dojo.dnd.Moveable( this, {handle: this.titleBar});
+            this.setTitleBarDragging();
         }
         
         this.domNode.id = this.widgetId;  // BOZO: must set the id here - it 
gets defensively cleared by dojo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to