Skip to content
Permalink
Browse files

Datepicker - Fixed #4787 - Datepicker: fix animation control

  • Loading branch information
Keith Wood
Keith Wood committed Dec 1, 2009
1 parent f072939 commit fe217c4745fb73516e0835f3c4c195304ad6b43d
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/unit/datepicker/datepicker_core.js
  2. +1 −1 tests/unit/datepicker/datepicker_options.js
@@ -33,7 +33,7 @@ function addMonths(date, offset) {

function init(id, options) {
$.datepicker.setDefaults($.datepicker.regional['']);
return $(id).datepicker($.extend({duration: ''}, options || {}));
return $(id).datepicker($.extend({showAnim: ''}, options || {}));
}

var PROP_NAME = 'datepicker';
@@ -46,7 +46,7 @@ test('option', function() {
equals(inp.datepicker('option', 'showOn'), 'button', 'Change instance showOn');
inp.datepicker('option', 'showOn', undefined);
equals(inp.datepicker('option', 'showOn'), 'focus', 'Reset instance showOn');
same(inp.datepicker('option', 'all'), {duration: ''}, 'Get instance settings');
same(inp.datepicker('option', 'all'), {showAnim: ''}, 'Get instance settings');
same(inp.datepicker('option', 'defaults'), $.datepicker._defaults,
'Get default settings');
});

0 comments on commit fe217c4

Please sign in to comment.
You can’t perform that action at this time.