Ticket #4441: 4441_partial_patch.diff
File 4441_partial_patch.diff, 940 bytes (added by , 13 years ago) |
---|
-
ui.selectable.js
66 66 _mouseStart: function(event) { 67 67 var self = this; 68 68 69 if (this._trigger("start", event) === false) { 70 this.opos = null; 71 return; 72 } 73 69 74 this.opos = [event.pageX, event.pageY]; 70 75 71 76 if (this.options.disabled) … … 75 80 76 81 this.selectees = $(options.filter, this.element[0]); 77 82 78 this._trigger("start", event);79 80 83 $(options.appendTo).append(this.helper); 81 84 // position helper (lasso) 82 85 this.helper.css({ … … 126 129 127 130 _mouseDrag: function(event) { 128 131 var self = this; 132 if (!this.opos) //if we never really started a selection 133 return; 129 134 this.dragged = true; 130 135 131 136 if (this.options.disabled) 132 137 return; 133 138