aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.draggable.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js
index 9d7df1180..2fc541f95 100644
--- a/ui/ui.draggable.js
+++ b/ui/ui.draggable.js
@@ -439,6 +439,7 @@ $.ui.plugin.add("draggable", "connectToSortable", {
$(typeof this == 'string' ? this+'': this).each(function() {
if($.data(this, 'sortable')) {
var sortable = $.data(this, 'sortable');
+ if (sortable.options.disabled) { return; }
inst.sortables.push({
instance: sortable,
shouldRevert: sortable.options.revert