Ticket #2922: ui.draggable.js.patch
| File ui.draggable.js.patch, 0.7 kB (added by ivan, 8 months ago) |
|---|
-
ui/ui.draggable.js
a b 210 210 stop: function(e) { 211 211 212 212 //If we are using droppables, inform the manager about the drop 213 213 214 if ($.ui.ddmanager && !this.options.dropBehaviour) 214 $.ui.ddmanager.drop(this, e);215 var dropped = $.ui.ddmanager.drop(this, e); 215 216 216 if(this.options.revert ) this.revert();217 if(this.options.revert || (this.options.revertInvalid && !dropped)) this.revert(); 217 218 else { 218 219 this.propagate("stop", e); 219 220 this.clear();
