Author: thanh_tung_do
Date: 2010-05-12 03:50:21 -0400 (Wed, 12 May 2010)
New Revision: 3063
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/page/UIPageBody.gtmpl
Log:
GTNPORTAL-1117: not allow drag and drog PageBody while editing container layout
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/page/UIPageBody.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/page/UIPageBody.gtmpl 2010-05-12
07:41:32 UTC (rev 3062)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/page/UIPageBody.gtmpl 2010-05-12
07:50:21 UTC (rev 3063)
@@ -7,8 +7,8 @@
<div class="UIComponent UIComponentBlock">
<%if(portalMode == UIPortalApplication.APP_BLOCK_EDIT_MODE || portalMode ==
UIPortalApplication.CONTAINER_BLOCK_EDIT_MODE) {%>
- <div class="LAYOUT-BLOCK LAYOUT-PAGEBODY DragControlArea"
onmousedown="eXo.portal.PortalDragDrop.init.call(this, event);">
- <div class="PageLayoutDecorator">
+ <div class="LAYOUT-BLOCK LAYOUT-PAGEBODY DragControlArea"
onmousedown="if(eXo.portal.portalMode ==
<%=UIPortalApplication.APP_BLOCK_EDIT_MODE%>){eXo.portal.PortalDragDrop.init.call(this,
event);} return false">
+ <div class="PageLayoutDecorator"
onmouseover="if(eXo.portal.portalMode ==
<%=UIPortalApplication.APP_BLOCK_EDIT_MODE%>){this.style.cursor ='move';}
else this.style.cursor ='default';">
<%/*Begin Top Decorator*/%>
<div class="TopLeftPage">
<div class="TopRightPage">