From ff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 13 Nov 2012 10:34:31 -0500 Subject: [PATCH] Datepicker tests: Fixed setting of option. --- tests/unit/datepicker/datepicker_core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- 2.39.5