mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 15:12:44 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user