DatePicker.js can now use different first days of the week

This commit is contained in:
Kaleb Murphy 2008-09-19 21:51:47 +00:00
parent 0095452ebc
commit 195bdb6a5e
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@
- rfe: Registration form to keep user entries on error - required and errored fields are now highlighted.
- added: Thingy view template now has access to field_dateCreated and field_lastUpdated for Things.
- added: AssetManager now times out after 30 seconds on the AJAX call to load assets. This will help people realize they are having network issues.
- fixed: DatePicker.js can now use different first days of the week.
7.5.22
- fixed: Layout template now gets prepared correctly

View file

@ -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);