CC-4873: Airtime takes 7 seconds to load 32K (very small) from db

-remove an unnecessary roundtrip to server
This commit is contained in:
Martin Konecny 2013-01-23 18:31:45 -05:00
parent 78f617cacb
commit 548b73db42
3 changed files with 14 additions and 5 deletions

View file

@ -37,7 +37,7 @@ function createDateInput(el, onSelect) {
dayNamesMin: i18n_days_short,
closeText: $.i18n._('Close'),
//showButtonPanel: true,
firstDay: weekStart
firstDay: calendarPref.weekStart
});
}
@ -324,7 +324,7 @@ function setAddShowEvents() {
dayNamesMin: i18n_days_short,
closeText: 'Close',
showButtonPanel: true,
firstDay: weekStart
firstDay: calendarPref.weekStart
});
form.find('input[name^="add_show_rebroadcast_time"]').timepicker({
amPmText: ['', ''],