From 8cd69fe15c72982ad44d0ce5ba4b1454028408b5 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 ce3046210..c0fff66c9 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -457,7 +457,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."); }