aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/datepicker
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-11-13 10:34:31 -0500
committerScott González <scott.gonzalez@gmail.com>2012-11-13 10:34:31 -0500
commitff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5 (patch)
tree363e4017e11dfffff7eb8c5becf128cfc01d8443 /tests/unit/datepicker
parent608341d20d9ed8078c115747576761829151ad04 (diff)
downloadjquery-ui-ff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5.tar.gz
jquery-ui-ff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5.zip
Datepicker tests: Fixed setting of option.
Diffstat (limited to 'tests/unit/datepicker')
-rw-r--r--tests/unit/datepicker/datepicker_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/datepicker/datepicker_core.js b/tests/unit/datepicker/datepicker_core.js
index 86f71a1c4..ae51b41d0 100644
--- a/tests/unit/datepicker/datepicker_core.js
+++ b/tests/unit/datepicker/datepicker_core.js
@@ -146,7 +146,7 @@ test('customStructure', function() {
dp = $('#ui-datepicker-div'),
// Check right-to-left localisation
inp = TestHelpers.datepicker.init('#inp', $.datepicker.regional.he);
- inp.data('showButtonPanel.datepicker',true);
+ inp.datepicker( 'option', 'showButtonPanel', true);
inp.focus();
ok(dp.is('.ui-datepicker-rtl'), 'Structure RTL - right-to-left');
header = dp.children(':first');