Author: jmorliaguet Date: Wed Mar 22 22:36:37 2006 New Revision: 2692 Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Log:
- cosmetic Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Wed Mar 22 22:36:37 2006 @@ -854,7 +854,10 @@ if (this.def.dragging.feedback) { if (this.target) - this.moved.setStyle({'width': this.target.getStyle('width')}); + var dim = this.target.getDimensions(); + this.moved.setStyle({ + 'width': dim.width + 'px', 'height': dim.height + 'px' + }); } Event.stop(e); }, -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins