diff options
author | ornicar <thibault.duplessis@gmail.com> | 2010-05-05 16:43:03 +0800 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-05-05 19:14:55 +0800 |
commit | a4488aff7c62f3e2db6f894b5f24cfd0adb8c6b7 (patch) | |
tree | 65b1624fe1acde246774c6ad684f2fc6961647fd /ui/jquery.ui.sortable.js | |
parent | 0ad5ac73822fdabef26e97e92e2aeee1372d8878 (diff) | |
download | jquery-ui-a4488aff7c62f3e2db6f894b5f24cfd0adb8c6b7.tar.gz jquery-ui-a4488aff7c62f3e2db6f894b5f24cfd0adb8c6b7.zip |
Fix 'this.options is undefined' in sortable by using this instead of self
Diffstat (limited to 'ui/jquery.ui.sortable.js')
-rw-r--r-- | ui/jquery.ui.sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index 0fa3a1253..ba0b28393 100644 --- a/ui/jquery.ui.sortable.js +++ b/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); } }, |