Monotone-Parent: babfea6e4a86c3a35dca2f890f5274a718b07250

Monotone-Revision: 25abdbcb35808945aa88d8503c67e9f53776cf62

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-08-27T15:14:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2010-08-27 15:14:03 +00:00
1 parent 35b64a4324
commit 9153afd7f1
2 files changed
+6 -7

No files matched your search

+4
View File
@@ -13,6 +13,10 @@
(setupMailboxesFromJSON): new method, created due the same issue
as above, that enables the creation of an array from the response
received by the filter editing window.
(updateSieveFilterRow): we avoid removing the activation cb since
further update event would no longer be taken into account.
However we reset its "checked" status to the activation status of
the updated filter.
2010-08-26 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+2 -7
View File
@@ -226,13 +226,8 @@ function updateSieveFilterRow(filterTable, number, filter) {
nameColumn.appendChild(document.createTextNode(filter.name));
var activeColumn = columns[1];
while (activeColumn.firstChild) {
activeColumn.removeChild(activeColumn.firstChild);
}
createElement("input", null, "checkBox",
{ checked: filter.active,
type: "checkbox" },
null, activeColumn);
var cb = activeColumn.childNodesWithTag("input");
cb[0].checked = filter.active;
}
function _editFilter(filterId) {