diff --git a/js/functions.js b/js/functions.js index 934f69e9..aff20a33 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1083,7 +1083,7 @@ function quickAddFilter() { var feed_id = activeFeedIsCat() ? 'CAT:' + parseInt(getActiveFeedId()) : getActiveFeedId(); - var rule = { reg_exp: selectedText, feed_id: feed_id, filter_type: 1 }; + var rule = { reg_exp: selectedText, feed_id: [feed_id], filter_type: 1 }; addFilterRule(null, dojo.toJson(rule)); @@ -1107,7 +1107,7 @@ function quickAddFilter() { var feed_id = activeFeedIsCat() ? 'CAT:' + parseInt(getActiveFeedId()) : getActiveFeedId(); - var rule = { reg_exp: title, feed_id: feed_id, filter_type: 1 }; + var rule = { reg_exp: title, feed_id: [feed_id], filter_type: 1 }; addFilterRule(null, dojo.toJson(rule)); } diff --git a/js/tt-rss.js b/js/tt-rss.js index c51e25db..1872ad1a 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -228,6 +228,7 @@ function init() { "dijit/form/Form", "dijit/form/RadioButton", "dijit/form/Select", + "dijit/form/MultiSelect", "dijit/form/SimpleTextarea", "dijit/form/TextBox", "dijit/form/ComboBox",