Author: liem_nguyen
Date: 2009-12-07 22:33:42 -0500 (Mon, 07 Dec 2009)
New Revision: 968
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js
Log:
GTNPORTAL-334 Can drag & drop gadget in Dashboard workspace when click switch view
mode
Modified: portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js 2009-12-08
01:03:58 UTC (rev 967)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/portal/UIPortal.js 2009-12-08
03:33:42 UTC (rev 968)
@@ -63,7 +63,7 @@
var DOMUtil = eXo.core.DOMUtil;
if(!eXo.portal.portalMode || eXo.portal.isInDragging) return;
if(eXo.portal.portalMode <= 2 && DOMUtil.hasClass(portlet,
"UIContainer")) return;
- if(eXo.portal.portalMode > 2 && DOMUtil.hasClass(portlet,
"UIPortlet")) return;
+ if(eXo.portal.portalMode > 2 && eXo.portal.portalMode != 4 &&
DOMUtil.hasClass(portlet, "UIPortlet")) return;
if(!event) event = window.event;
event.cancelBubble = true;