Skip to content
Permalink
Browse files

Draggable: Fixed #3980: Don't allow connecting to disabled sortables.

  • Loading branch information
scottgonzalez committed Feb 1, 2009
1 parent 938a95e commit ce0daae2327dceaaf5dabc0eb92df6b0f20789af
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit ce0daae

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