Author: sascharodekamp
Date: Mon May 2 17:25:51 2011
New Revision: 1098671
URL:
http://svn.apache.org/viewvc?rev=1098671&view=revLog:
Update - Enable the portal D'n'D only on the portlet Headers as discussed in the ML.
OrigMsg.: from Pierre
I'm trying "my portal" page at "
https://127.0.0.1:8443/salesreps/control/showPortalPage?portalPageId=SalesRepsMgmt" and i find a strange behaviour... When you try to copy a label or something on a widget you can't do it because it start dragging the form...
May be I forget something but I do not understand why you can drag forms in the final view. Should it be possible only in admin view ?
Modified:
ofbiz/trunk/framework/images/webapp/images/myportal.js
Modified: ofbiz/trunk/framework/images/webapp/images/myportal.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/myportal.js?rev=1098671&r1=1098670&r2=1098671&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/myportal.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/myportal.js Mon May 2 17:25:51 2011
@@ -29,6 +29,7 @@ jQuery(document).ready( function() {
// initializ the d_n_d jQuery functions
jQuery("" + SORTABLE_COLUMN_LIST + "").sortable({
connectWith: ".connectedSortable",
+ handle: ".portlet-config, .screenlet-title-bar",
tolerance: "pointer",
dropOnEmpty: true,
cursor: "move",