aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}
});