]> source.dussan.org Git - jquery-ui.git/commit
Widget: option-method should work as getter only when argument length is 1. Fixes...
authorJyoti Deka <dekajp@gmail.com>
Tue, 15 Oct 2013 03:43:06 +0000 (23:43 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 26 Nov 2013 20:13:05 +0000 (15:13 -0500)
commit6cdebe84f8fb20374bb9dd32b62cba1b7f8dfd13
tree877d0f241d4d1edaf3d6b37f6696350691666c93
parent8eefd2032fb5c0e60c7a9899ba51bc7f33aaebc8
Widget: option-method should work as getter only when argument length is 1. Fixes #9601 - Widget: calling _setOption with undefined as 3rd argument makes it a getter
(cherry picked from commit ecde7cd41a59e9c3ff07f56baeeaec2147cca779)
tests/unit/widget/widget_core.js
ui/jquery.ui.widget.js