From 12b7b90c7031cf9f61a9eada822c37d841d6d875 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Jul 2017 20:26:18 +0300 Subject: [PATCH] prefs: reload after OPML import --- js/prefs.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/js/prefs.js b/js/prefs.js index 974170d9..34ccbac9 100755 --- a/js/prefs.js +++ b/js/prefs.js @@ -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", -- 2.39.2