From 3a3fde1a2e0beac6d179c6449eaad726100710d7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Nov 2021 20:18:37 +0300 Subject: [PATCH] when uninstall plugins, refresh plugins index instead of reloading entire prefs pane --- js/PrefHelpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index 30a4544fe..09e6a7fbd 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -450,7 +450,7 @@ const Helpers = { xhr.json("backend.php", {op: "pref-prefs", method: "uninstallPlugin", plugin: plugin}, (reply) => { if (reply && reply.status == 1) - Helpers.Prefs.refresh(); + Helpers.Plugins.reload(); else { Notify.error("Plugin uninstallation failed."); }