Bug Tracker

Changeset 4063

Show
Ignore:
Timestamp:
12/07/07 01:52:23 (1 year ago)
Author:
rdworth
Message:

Fixed ticket #1547 - drop callback function runs twice

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ui/current/ui.droppable.js

    r3611 r4063  
    4242        o = this.options; 
    4343        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]); 
    4844         
    4945        $.ui.ddmanager.droppables.push({ item: this, over: 0, out: 1 }); // Add the reference and positions to the manager