mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Sortable: Only trigger over event when changing the current container.
Fixes #5111 - 1.8rc1 sortable#over method bugged -- called along with #sort instead of on mouseover.
This commit is contained in:
parent
8185ba0207
commit
009378cadc
4
ui/jquery.ui.sortable.js
vendored
4
ui/jquery.ui.sortable.js
vendored
@ -724,10 +724,10 @@ $.widget("ui.sortable", $.ui.mouse, {
|
||||
//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;
|
||||
}
|
||||
|
||||
this.containers[innermostIndex]._trigger("over", event, this._uiHash(this));
|
||||
this.containers[innermostIndex].containerCache.over = 1;
|
||||
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user