]> git.wh0rd.org Git - tt-rss.git/commitdiff
filters: add to previous on JS side
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 3 Dec 2015 07:25:30 +0000 (10:25 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 3 Dec 2015 07:25:30 +0000 (10:25 +0300)
js/functions.js

index 24e5858479b08f8d2cbbc89547f8210886575543..384382554b62721b5def286c9a7829e9e7d6c2b0 100755 (executable)
@@ -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));