Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *** jquery.ui.sortable.js 2013-07-15 01:56:50.000000000 +0100
- --- jquery.ui.sortable.js-fixed 2013-07-30 16:17:24.000000000 +0100
- ***************
- *** 890,909 ****
- return;
- }
- ! if(this.currentContainer === this.containers[innermostIndex]) {
- ! return;
- ! }
- ! itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);
- ! this._trigger("change", event, this._uiHash());
- ! this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));
- ! this.currentContainer = this.containers[innermostIndex];
- ! //Update the placeholder
- ! this.options.placeholder.update(this.currentContainer, this.placeholder);
- ! this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
- ! this.containers[innermostIndex].containerCache.over = 1;
- }
- --- 890,911 ----
- return;
- }
- ! if(this.currentContainer !== this.containers[innermostIndex]) {
- ! itemWithLeastDistance ? this._rearrange(event, itemWithLeastDistance, null, true) : this._rearrange(event, null, this.containers[innermostIndex].element, true);
- ! this._trigger("change", event, this._uiHash());
- ! this.containers[innermostIndex]._trigger("change", event, this._uiHash(this));
- ! this.currentContainer = this.containers[innermostIndex];
- ! //Update the placeholder
- ! this.options.placeholder.update(this.currentContainer, this.placeholder);
- ! }
- !
- ! if (!this.containers[innermostIndex].containerCache.over) {
- ! this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
- ! this.containers[innermostIndex].containerCache.over = 1;
- ! }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement