1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 02:55:55 +00:00

add placeholder Filters.filterDlgCheckRegExp

This commit is contained in:
Andrew Dolgov
2019-07-12 10:47:18 +03:00
parent ea30061cce
commit 86a014f23b
2 changed files with 9 additions and 1 deletions

View File

@@ -2,6 +2,13 @@
/* global __, ngettext */
define(["dojo/_base/declare"], function (declare) {
Filters = {
filterDlgCheckRegExp: function(sender) {
try {
new RegExp("/" + sender.value + "/");
} catch (e) {
console.error(e);
}
},
filterDlgCheckAction: function(sender) {
const action = sender.value;