Author: jmorliaguet Date: Tue Mar 21 11:03:54 2006 New Revision: 2673 Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.js Log:
- minor fixes Modified: cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css ============================================================================== --- cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css (original) +++ cpsskins/branches/jmo-perspectives/ui/framework/cpsskins.css Tue Mar 21 11:03:54 2006 @@ -117,24 +117,3 @@ vertical-align: bottom; } -/* Drag-and-drop */ - -#drag-feedback-box { - position: absolute; - filter: alpha(opacity=80); - opacity: 0.8; - display: none; - z-index: 1000; - cursor: move; -} - -#selection-box { - position: absolute; - background-color: expression('#ff0'); - border: 1px dashed #999; - filter: alpha(opacity=50); - background-image: url(/++skin++cpsskins/@@/bg_alpha50.png); - display: none; - z-index: 5; -} - 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 Tue Mar 21 11:03:54 2006 @@ -758,6 +758,7 @@ } var pos = Position.cumulativeOffset(draggable); + var x = Event.pointerX(e); var y = Event.pointerY(e); this.x0 = pos[0]; @@ -825,7 +826,7 @@ var y = Event.pointerY(e); this.moved.moveTo({'x': x-this.x1, 'y': y-this.y1}); - var el = Event.element(e); + var el = $(Event.element(e)); var shift = this.def.dragging.shift; if (shift && el.hasClassName(shift)) { -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins