DatePicker.js can now use different first days of the week
This commit is contained in:
parent
0095452ebc
commit
195bdb6a5e
2 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ YAHOO.WebGUI.Form.DatePicker = {
|
|||
MDY_DAY_POSITION: 3
|
||||
};
|
||||
if (window.webguiFirstDayOfWeek) {
|
||||
config.START_WEEKDAY = webguiFirstDayofWeek;
|
||||
config.START_WEEKDAY = window.webguiFirstDayOfWeek;
|
||||
}
|
||||
this.calendar = new YAHOO.widget.Calendar(null, cal, config);
|
||||
this.calendar.selectEvent.subscribe(this.handleSelect, this, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue