mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 07:48:52 +00:00
Fixed call to Object.toJSON for Prototype JS 1.7.
Monotone-Parent: cf0e281b1ddabaa9d9d2254c68173616e13215d0 Monotone-Revision: 49b01807f1c5d14232f8021564406a02f9736a62 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-11-29T14:26:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -45,7 +45,7 @@ function savePreferences(sender) {
|
||||
|
||||
if (isSieveScriptsEnabled) {
|
||||
var jsonFilters = prototypeIfyFilters();
|
||||
$("sieveFilters").setValue(jsonFilters.toJSON());
|
||||
$("sieveFilters").setValue(Object.toJSON(jsonFilters));
|
||||
}
|
||||
|
||||
saveMailAccounts();
|
||||
@@ -753,7 +753,7 @@ function saveMailAccounts() {
|
||||
|
||||
compactMailAccounts();
|
||||
var mailAccountsJSON = $("mailAccountsJSON");
|
||||
mailAccountsJSON.value = mailAccounts.toJSON();
|
||||
mailAccountsJSON.value = Object.toJSON(mailAccounts);
|
||||
}
|
||||
|
||||
function compactMailAccounts() {
|
||||
@@ -930,7 +930,7 @@ function serializeContactsCategories() {
|
||||
values.push(td.allTextContent());
|
||||
}
|
||||
|
||||
$("contactsCategoriesValue").value = values.toJSON();
|
||||
$("contactsCategoriesValue").value = Object.toJSON(values);
|
||||
}
|
||||
|
||||
/* / contact categories */
|
||||
|
||||
Reference in New Issue
Block a user