editFilter: fix selector expressions broken by 88946d3

This commit is contained in:
Andrew Dolgov 2017-02-15 13:22:16 +03:00
parent a3b5f3817e
commit ad7cea62e1
1 changed files with 2 additions and 2 deletions

View File

@ -205,10 +205,10 @@ function editFilter(id) {
addAction: function() { addFilterAction(); },
addRule: function() { addFilterRule(); },
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() {
$$("#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() {
if (this.validate()) {