filters: add to previous on JS side

This commit is contained in:
Andrew Dolgov 2015-12-03 10:25:30 +03:00
parent 154f14d01b
commit 89bea945ce

View file

@ -901,7 +901,7 @@ function createNewRuleElement(parentNode, replaceNode) {
try {
var form = document.forms["filter_new_rule_form"];
form.reg_exp.value = form.reg_exp.value.replace(/(<([^>]+)>)/ig,"");
//form.reg_exp.value = form.reg_exp.value.replace(/(<([^>]+)>)/ig,"");
var query = "backend.php?op=pref-filters&method=printrulename&rule="+
param_escape(dojo.formToJson(form));