Monotone-Parent: 1e6106de581b46f2a2162a87a140cab55f9d3500

Monotone-Revision: edb893da8ce0f655c7df27ce11022ddf6b26e6a0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-08-09T13:25:02
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-08-09 13:25:02 +00:00
parent e4f8477929
commit 549162ce51
2 changed files with 18 additions and 2 deletions

View File

@@ -621,6 +621,10 @@ function onMailAccountAdd(event) {
displayMailAccount(newMailAccount, false);
li.selectElement();
li.editionController.startEditing();
var hasChanged = $("hasChanged");
hasChanged.value = "1";
event.stop();
}
@@ -641,6 +645,9 @@ function onMailAccountDelete(event) {
mailAccounts.splice(index, 1);
next.selectElement();
displayMailAccount(next.mailAccount, next.readOnly);
var hasChanged = $("hasChanged");
hasChanged.value = "1";
}
}
event.stop();
@@ -714,8 +721,10 @@ function onColorPickerChoice (newColor) {
// div.removeClassName ("colorEditing");
div.showColor = newColor;
div.style.background = newColor;
if (parseInt($("hasChanged").value) == 0)
onChoiceChanged(null);
if (parseInt($("hasChanged").value) == 0) {
var hasChanged = $("hasChanged");
hasChanged.value = "1";
}
}
function onCategoryAdd (e) {