From: Scott González Date: Tue, 13 Nov 2012 15:34:31 +0000 (-0500) Subject: Datepicker tests: Fixed setting of option. X-Git-Tag: 1.10.0-beta.1~169 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5;p=jquery-ui.git Datepicker tests: Fixed setting of option. --- 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');