Ticket #5621: setOption.patch

File setOption.patch, 446 bytes (added by karachi, 10 years ago)

Patch that fixes ticket

  • jquery.ui.sortable.

    old new  
    8181                                [ value ? "addClass" : "removeClass"]( "ui-sortable-disabled" );
    8282                } else {
    8383                        // Don't call widget base _setOption for disable as it adds ui-state-disabled class
    84                         $.Widget.prototype._setOption.apply(self, arguments);
     84                        $.Widget.prototype._setOption.apply(this, arguments);
    8585                }
    8686        },
    8787