Skip to content

Commit

Permalink
Sortable: Reset fromOutside property when canceling helper removal. F…
Browse files Browse the repository at this point in the history
…ixes #8430 - draggable with sortable makes sortable event receive triggered wrong.

(cherry picked from commit dcea4f0)
  • Loading branch information
wedgwood authored and scottgonzalez committed Jul 16, 2012
1 parent 8fcbe50 commit 347aa33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/jquery.ui.sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,8 @@ $.widget("ui.sortable", $.ui.mouse, {
for (var i=0; i < delayedTriggers.length; i++) { delayedTriggers[i].call(this, event); }; //Trigger all delayed events
this._trigger("stop", event, this._uiHash());
}

this.fromOutside = false;
return false;
}

Expand Down

0 comments on commit 347aa33

Please sign in to comment.