From 195bdb6a5e37630bc909e11dc2cc36fb0fe628ab Mon Sep 17 00:00:00 2001 From: Kaleb Murphy Date: Fri, 19 Sep 2008 21:51:47 +0000 Subject: [PATCH] DatePicker.js can now use different first days of the week --- docs/changelog/7.x.x.txt | 1 + www/extras/yui-webgui/build/datepicker/datepicker.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1fa0a7f28..0176b233b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/www/extras/yui-webgui/build/datepicker/datepicker.js b/www/extras/yui-webgui/build/datepicker/datepicker.js index f6107af14..5c0e3b606 100644 --- a/www/extras/yui-webgui/build/datepicker/datepicker.js +++ b/www/extras/yui-webgui/build/datepicker/datepicker.js @@ -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);