filter dialog fixes

This commit is contained in:
Andrew Dolgov 2018-12-02 09:55:43 +03:00
parent 1930f0e4e0
commit da9f83c4ac
1 changed files with 4 additions and 4 deletions

View File

@ -245,12 +245,12 @@ function editFilter(id) {
editRule: function (e) {
const li = e.parentNode;
const rule = li.getElementsByTagName("INPUT")[1].value;
addFilterRule(li, rule);
Filters.addFilterRule(li, rule);
},
editAction: function (e) {
const li = e.parentNode;
const action = li.getElementsByTagName("INPUT")[1].value;
addFilterAction(li, action);
Filters.addFilterAction(li, action);
},
removeFilter: function () {
const msg = __("Remove filter?");
@ -268,10 +268,10 @@ function editFilter(id) {
}
},
addAction: function () {
addFilterAction();
Filters.addFilterAction();
},
addRule: function () {
addFilterRule();
Filters.addFilterRule();
},
deleteAction: function () {
$$("#filterDlg_Actions li[class*=Selected]").each(function (e) {