filter delete action/rule: fix selector syntax

This commit is contained in:
Andrew Dolgov 2018-02-04 12:50:21 +03:00
parent a340b29ba9
commit 44eda8521e
1 changed files with 2 additions and 2 deletions

View File

@ -981,10 +981,10 @@ function quickAddFilter() {
addAction: function() { addFilterAction(); }, addAction: function() { addFilterAction(); },
addRule: function() { addFilterRule(); }, addRule: function() { addFilterRule(); },
deleteAction: function() { deleteAction: function() {
$$("#filterDlg_Actions li.[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); $$("#filterDlg_Actions li[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) });
}, },
deleteRule: function() { deleteRule: function() {
$$("#filterDlg_Matches li.[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) }); $$("#filterDlg_Matches li[class*=Selected]").each(function(e) { e.parentNode.removeChild(e) });
}, },
execute: function() { execute: function() {
if (this.validate()) { if (this.validate()) {