summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-15 20:18:37 +0300
committerAndrew Dolgov <[email protected]>2021-11-15 20:18:50 +0300
commit3a3fde1a2e0beac6d179c6449eaad726100710d7 (patch)
treebf180e7b8e77fd045ecd365365db4986d3987140
parent8dfefe796812fc1052c8be23f27c1b30431c93ab (diff)
when uninstall plugins, refresh plugins index instead of reloading entire prefs pane
-rw-r--r--js/PrefHelpers.js2
1 files changed, 1 insertions, 1 deletions
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.");
}