Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix 'this.options is undefined' in sortable by using this instead of …

  • Loading branch information...
commit a4488aff7c62f3e2db6f894b5f24cfd0adb8c6b7 1 parent 0ad5ac7
@ornicar ornicar authored scottgonzalez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.sortable.js
2  ui/jquery.ui.sortable.js
@@ -81,7 +81,7 @@ $.widget("ui.sortable", $.ui.mouse, {
[ value ? "addClass" : "removeClass"]( "ui-sortable-disabled" );
} else {
// Don't call widget base _setOption for disable as it adds ui-state-disabled class
- $.Widget.prototype._setOption.apply(self, arguments);
+ $.Widget.prototype._setOption.apply(this, arguments);

5 comments on commit a4488af


Excellent work guys, this bug had me for a while!


Any chance we can get 1.8.2 released to include this soon?


@ornicar Can you please sign our CLA?


Okay done... I grant jQuery the rights over these four characters :hammer:



Please sign in to comment.
Something went wrong with that request. Please try again.