Changeset 4063
- Timestamp:
- 12/07/07 01:52:23 (1 year ago)
- Files:
-
- 1 modified
-
trunk/ui/current/ui.droppable.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ui/current/ui.droppable.js
r3611 r4063 42 42 o = this.options; 43 43 var self = this; 44 45 this.mouseBindings = [function(e) { return self.move.apply(self, [e]); },function(e) { return self.drop.apply(self, [e]); }];46 $(this.element).bind("mousemove", this.mouseBindings[0]);47 $(this.element).bind("mouseup", this.mouseBindings[1]);48 44 49 45 $.ui.ddmanager.droppables.push({ item: this, over: 0, out: 1 }); // Add the reference and positions to the manager
