id: "filterEditDlg",
title: __("Create Filter"),
style: "width: 600px",
+ selectRules: function(select) {
+ $$("#filterDlg_Matches input[type=checkbox]").each(function(e) {
+ e.checked = select;
+ if (select)
+ e.parentNode.addClassName("Selected");
+ else
+ e.parentNode.removeClassName("Selected");
+ });
+ },
+ selectActions: function(select) {
+ $$("#filterDlg_Actions input[type=checkbox]").each(function(e) {
+ e.checked = select;
+
+ if (select)
+ e.parentNode.addClassName("Selected");
+ else
+ e.parentNode.removeClassName("Selected");
+
+ });
+ },
editRule: function(e) {
var li = e.parentNode;
var rule = li.getElementsByTagName("INPUT")[1].value;
id: "filterEditDlg",
title: __("Edit Filter"),
style: "width: 600px",
+ selectRules: function(select) {
+ $$("#filterDlg_Matches input[type=checkbox]").each(function(e) {
+ e.checked = select;
+ if (select)
+ e.parentNode.addClassName("Selected");
+ else
+ e.parentNode.removeClassName("Selected");
+ });
+ },
+ selectActions: function(select) {
+ $$("#filterDlg_Actions input[type=checkbox]").each(function(e) {
+ e.checked = select;
+
+ if (select)
+ e.parentNode.addClassName("Selected");
+ else
+ e.parentNode.removeClassName("Selected");
+
+ });
+ },
editRule: function(e) {
var li = e.parentNode;
var rule = li.getElementsByTagName("INPUT")[1].value;