Author: sichen
Date: Thu Mar 22 16:02:38 2007
New Revision: 521520
URL:
http://svn.apache.org/viewvc?view=rev&rev=521520Log:
Fix drag and drop funcitonality in dojo table rows. these are fixed in a different way in dojo 0.4.2, but instead of upgrading to new dojo we just fixed it here. From Chris Liberty
Modified:
ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js
ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js.uncompressed.js
Modified: ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js?view=diff&rev=521520&r1=521519&r2=521520==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js Thu Mar 22 16:02:38 2007
@@ -13262,7 +13262,7 @@
}
var _baf=((isTr)?this.domNode:this.domNode.firstChild);
var _bb0=((isTr)?node:node.firstChild);
-var _bb1=tdp.childNodes;
+var _bb1=_baf.childNodes;
var _bb2=_bb0.childNodes;
for(var i=0;i<_bb1.length;i++){
if((_bb2[i])&&(_bb2[i].style)){
Modified: ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js.uncompressed.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js.uncompressed.js?view=diff&rev=521520&r1=521519&r2=521520==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js.uncompressed.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/dojo/dojo.js.uncompressed.js Thu Mar 22 16:02:38 2007
@@ -20781,7 +20781,7 @@
// Set a fixed width to the cloned TDs
var tmpSrcTr = ((isTr) ? this.domNode : this.domNode.firstChild);
var tmpDstTr = ((isTr) ? node : node.firstChild);
- var domTds = tdp.childNodes;
+ var domTds = tmpSrcTr.childNodes;
var cloneTds = tmpDstTr.childNodes;
for(var i = 0; i < domTds.length; i++){
if((cloneTds[i])&&(cloneTds[i].style)){