]> git.wh0rd.org - tt-rss.git/commitdiff
prefs: reload after OPML import
authorAndrew Dolgov <noreply@fakecake.org>
Sun, 2 Jul 2017 17:26:18 +0000 (20:26 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sun, 2 Jul 2017 17:26:18 +0000 (20:26 +0300)
js/prefs.js

index 974170d9ba78a2c38b7952293ccc44f20a1c4e74..34ccbac905e927ae651a179cd2ffe8cff5b5a15b 100755 (executable)
@@ -740,15 +740,10 @@ function opmlImportComplete(iframe) {
                title: __("OPML Import"),
                style: "width: 600px",
                onCancel: function () {
-                       updateFeedList();
-                       updateFilterList();
-                       updateLabelList();
+            window.location.reload();
                },
                execute: function () {
-                       updateFeedList();
-                       updateFilterList();
-                       updateLabelList();
-                       this.hide();
+                       window.location.reload();
                },
                content: content
        });
@@ -876,6 +871,7 @@ function init() {
                "dijit/form/CheckBox",
                "dijit/form/DropDownButton",
                "dijit/form/FilteringSelect",
+        "dijit/form/MultiSelect",
                "dijit/form/Form",
                "dijit/form/RadioButton",
                "dijit/form/ComboButton",