select: null
},
- calendarOptions: [ "buttons", "disabled", "dateFormat", "eachDay", "labels",
- "locale", "max", "min", "numberOfMonths", "showWeek" ],
+ calendarOptions: [ "buttons", "classes", "disabled", "dateFormat", "eachDay",
+ "labels", "locale", "max", "min", "numberOfMonths", "showWeek" ],
_create: function() {
this.suppressExpandOnFocus = false;
var that = this,
globalize = new Globalize( this.options.locale );
- this.calendar = $( "<div>" )
- .addClass( "ui-front ui-datepicker" )
- .appendTo( this._appendTo() );
+ this.calendar = $( "<div>" ).appendTo( this._appendTo() );
+ this._addClass( this.calendar, "ui-datepicker", "ui-front" );
// Initialize calendar widget
this.calendarInstance = this.calendar