mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-08 13:05:28 +00:00
Monotone-Parent: b9881036cb14d433a260903357497efadfdfbec6
Monotone-Revision: 1e6106de581b46f2a2162a87a140cab55f9d3500 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-06T21:04:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2010-08-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/generic.js (reloadPreferences): dropped
|
||||
useless method.
|
||||
|
||||
* UI/PreferencesUI/UIxPreferences.m (_extractAuxiliaryAccounts:):
|
||||
since we no longer transfer the user password to the client, the
|
||||
old password has to be fetched from the old account unless a new
|
||||
|
||||
@@ -1437,33 +1437,6 @@ function indexColor(number) {
|
||||
return color;
|
||||
}
|
||||
|
||||
function reloadPreferences() {
|
||||
var url = UserFolderURL + "jsonDefaults";
|
||||
var http = createHTTPClient();
|
||||
http.open("GET", url, false);
|
||||
http.send("");
|
||||
|
||||
if (http.status == 200) {
|
||||
if (http.responseText.length > 0) {
|
||||
UserDefaults = http.responseText.evalJSON(true);
|
||||
if (!UserDefaults)
|
||||
UserDefaults = {};
|
||||
}
|
||||
else
|
||||
UserDefaults = {};
|
||||
}
|
||||
|
||||
url = UserFolderURL + "jsonSettings";
|
||||
http.open("GET", url, false);
|
||||
http.send("");
|
||||
if (http.status == 200) {
|
||||
if (http.responseText.length > 0)
|
||||
UserSettings = http.responseText.evalJSON(true);
|
||||
else
|
||||
UserSettings = {};
|
||||
}
|
||||
}
|
||||
|
||||
function onLoadHandler(event) {
|
||||
queryParameters = parseQueryParameters('' + window.location);
|
||||
if (!$(document.body).hasClassName("popup")) {
|
||||
|
||||
Reference in New Issue
Block a user