mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 21:15:27 +00:00
Monotone-Parent: c669e35445e941613544b7d8f01e9f5c509c6d6d
Monotone-Revision: 77e266118db7711a96eaa7860269a06901b65f60 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-14T18:22:46 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2010-10-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js: (triggerAjaxRequest): save the
|
||||
content in the request object in the case a retry is needed.
|
||||
(onCASRecoverIFrameLoaded): on the first retry, the content
|
||||
parameter is passed back to "triggerAjaxRequest".
|
||||
|
||||
* OpenChange/MAPIStoreMailContext.m
|
||||
(-getMessageProperties:inRow:atURL:): new method.
|
||||
(-getMessageTableChildproperty:atURL:withTag:inFolder:withFID:):
|
||||
|
||||
@@ -265,9 +265,14 @@ function onCASRecoverIFrameLoaded(event) {
|
||||
triggerAjaxRequest(request.url,
|
||||
request.callback,
|
||||
request.callbackData,
|
||||
request.content,
|
||||
request.paramHeaders,
|
||||
1);
|
||||
}
|
||||
else {
|
||||
var logoffUrl = UserFolderURL + "logoff";
|
||||
window.location.href = logoffUrl;
|
||||
}
|
||||
this.request = null;
|
||||
}
|
||||
this.parentNode.removeChild(this);
|
||||
@@ -335,6 +340,7 @@ function triggerAjaxRequest(url, callback, userdata, content, headers, attempt)
|
||||
http.open("POST", url, true);
|
||||
http.url = url;
|
||||
http.paramHeaders = headers;
|
||||
http.content = content;
|
||||
http.callback = callback;
|
||||
http.callbackData = userdata;
|
||||
http.onreadystatechange = function() { onAjaxRequestStateChange(http); };
|
||||
|
||||
Reference in New Issue
Block a user