Search and Top Navigation
Ticket #5621: setOption.patch
File setOption.patch, 0.4 KB (added by karachi, May 17, 2010 04:47PM UTC)
Patch that fixes ticket
--- jquery.ui.sortable.js 2010-04-30 11:50:24.000000000 +0300
+++ jquery.ui.sortable.fixed.js 2010-05-17 19:38:26.000000000 +0300
@@ -81,7 +81,7 @@
[ 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);
}
},
Download in other formats:
Original Format
File setOption.patch, 0.4 KB (added by karachi, May 17, 2010 04:47PM UTC)
Patch that fixes ticket
--- jquery.ui.sortable.js 2010-04-30 11:50:24.000000000 +0300
+++ jquery.ui.sortable.fixed.js 2010-05-17 19:38:26.000000000 +0300
@@ -81,7 +81,7 @@
[ 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);
}
},