Monotone-Parent: 534a14b91a815041d27ce212e28d37e2b61c6344
Monotone-Revision: db998c2f5084b1ab7cbb31ccccdbbb6e086664ca Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-04-24T20:22:48 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
c3a3f375b7
commit
89984c97b6
|
@ -353,7 +353,6 @@ function getContrastingTextColor(bgColor) {
|
|||
|
||||
function triggerAjaxRequest(url, callback, userdata, content, headers) {
|
||||
var http = createHTTPClient();
|
||||
|
||||
activeAjaxRequests++;
|
||||
document.animTimer = setTimeout("checkAjaxRequestsState();", 250);
|
||||
//url = appendDifferentiator(url);
|
||||
|
@ -1230,10 +1229,8 @@ function refreshAlarms() {
|
|||
var now = new Date();
|
||||
var utc = Math.floor(now.getTime()/1000);
|
||||
|
||||
if (document.alarmsListAjaxRequest) {
|
||||
document.alarmsListAjaxRequest.aborted = true;
|
||||
document.alarmsListAjaxRequest.abort();
|
||||
}
|
||||
if (document.alarmsListAjaxRequest)
|
||||
return false;
|
||||
url = UserFolderURL + "Calendar/alarmslist?browserTime=" + utc;
|
||||
document.alarmsListAjaxRequest
|
||||
= triggerAjaxRequest(url, refreshAlarmsCallback);
|
||||
|
|
Loading…
Reference in New Issue