CC-4873: Airtime takes 7 seconds to load 32K (very small) from db
-remove an unnecessary roundtrip to server
This commit is contained in:
parent
78f617cacb
commit
548b73db42
3 changed files with 14 additions and 5 deletions
|
@ -328,8 +328,9 @@ function alertShowErrorAndReload(){
|
|||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$.ajax({ url: baseUrl+"Api/calendar-init/format/json", dataType:"json", success:createFullCalendar
|
||||
, error:function(jqXHR, textStatus, errorThrown){}});
|
||||
var data = {};
|
||||
data.calendarInit = calendarPref;
|
||||
createFullCalendar(data);
|
||||
|
||||
setInterval(checkCalendarSCUploadStatus, 5000);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue