Skip to content
Permalink
Browse files

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.
  • Loading branch information
scottgonzalez committed Feb 20, 2010
1 parent 8185ba0 commit 009378cadc6e88cf2ead9bb73d6019336e5959cc
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.sortable.js
@@ -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;

},

0 comments on commit 009378c

Please sign in to comment.
You can’t perform that action at this time.