Forgot the JS from previous commit.

This commit is contained in:
Colin Kuskie 2009-06-23 19:31:07 +00:00
parent 91029e8140
commit caee13dba2

View file

@ -22,8 +22,9 @@ YAHOO.WebGUI.Form.DatePicker = {
MDY_DAY_POSITION: 3, MDY_DAY_POSITION: 3,
NAVIGATOR: true NAVIGATOR: true
}; };
if (window.webguiFirstDayOfWeek) { var firstDayOfWeek = getWebguiProperty('firstDayOfWeek');
config.START_WEEKDAY = window.webguiFirstDayOfWeek; if (firstDayOfWeek) {
config.START_WEEKDAY = firstDayOfWeek;
} }
this.calendar = new YAHOO.widget.Calendar(null, cal, config); this.calendar = new YAHOO.widget.Calendar(null, cal, config);
this.calendar.selectEvent.subscribe(this.handleSelect, this, true); this.calendar.selectEvent.subscribe(this.handleSelect, this, true);