filter dialog fixes
This commit is contained in:
parent
1930f0e4e0
commit
da9f83c4ac
|
@ -245,12 +245,12 @@ function editFilter(id) {
|
||||||
editRule: function (e) {
|
editRule: function (e) {
|
||||||
const li = e.parentNode;
|
const li = e.parentNode;
|
||||||
const rule = li.getElementsByTagName("INPUT")[1].value;
|
const rule = li.getElementsByTagName("INPUT")[1].value;
|
||||||
addFilterRule(li, rule);
|
Filters.addFilterRule(li, rule);
|
||||||
},
|
},
|
||||||
editAction: function (e) {
|
editAction: function (e) {
|
||||||
const li = e.parentNode;
|
const li = e.parentNode;
|
||||||
const action = li.getElementsByTagName("INPUT")[1].value;
|
const action = li.getElementsByTagName("INPUT")[1].value;
|
||||||
addFilterAction(li, action);
|
Filters.addFilterAction(li, action);
|
||||||
},
|
},
|
||||||
removeFilter: function () {
|
removeFilter: function () {
|
||||||
const msg = __("Remove filter?");
|
const msg = __("Remove filter?");
|
||||||
|
@ -268,10 +268,10 @@ function editFilter(id) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
addAction: function () {
|
addAction: function () {
|
||||||
addFilterAction();
|
Filters.addFilterAction();
|
||||||
},
|
},
|
||||||
addRule: function () {
|
addRule: function () {
|
||||||
addFilterRule();
|
Filters.addFilterRule();
|
||||||
},
|
},
|
||||||
deleteAction: function () {
|
deleteAction: function () {
|
||||||
$$("#filterDlg_Actions li[class*=Selected]").each(function (e) {
|
$$("#filterDlg_Actions li[class*=Selected]").each(function (e) {
|
||||||
|
|
Loading…
Reference in New Issue