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:
Scott González 2010-02-20 02:31:49 +00:00
parent 8185ba0207
commit 009378cadc

View File

@ -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;
}
},