Browse files

Datepicker tests: Fixed setting of option.

  • Loading branch information...
1 parent 608341d commit ff055a0c353c3c8ce6e5bfa07ad7cb03e8885bc5 @scottgonzalez scottgonzalez committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/datepicker/datepicker_core.js
View
2 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');

0 comments on commit ff055a0

Please sign in to comment.