aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.draggable.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2008-09-03 14:27:51 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2008-09-03 14:27:51 +0000
commit6174fef86fa61c86381283361364d2242b94e739 (patch)
tree84cd49e03249452f5676b00411b19155ab714c22 /ui/ui.draggable.js
parentb59354a4b2942ab8954c81e0164db231d753d7cf (diff)
downloadjquery-ui-6174fef86fa61c86381283361364d2242b94e739.tar.gz
jquery-ui-6174fef86fa61c86381283361364d2242b94e739.zip
draggable: sortable.refreshItems got renamed to _refreshItems
Diffstat (limited to 'ui/ui.draggable.js')
-rw-r--r--ui/ui.draggable.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 1e794297d..421fbdbfd 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -469,13 +469,14 @@ $.ui.plugin.add("draggable", "connectToSortable", {
var inst = $(this).data("draggable");
inst.sortables = [];
$(ui.options.connectToSortable).each(function() {
+ console.log($.data(this, 'sortable'));
if($.data(this, 'sortable')) {
var sortable = $.data(this, 'sortable');
inst.sortables.push({
instance: sortable,
shouldRevert: sortable.options.revert
});
- sortable.refreshItems(); //Do a one-time refresh at start to refresh the containerCache
+ sortable._refreshItems(); //Do a one-time refresh at start to refresh the containerCache
sortable._propagate("activate", e, inst);
}
});