diff options
author | Andrew Dolgov <[email protected]> | 2021-11-15 20:18:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-15 20:18:37 +0300 |
commit | 8cd69fe15c72982ad44d0ce5ba4b1454028408b5 (patch) | |
tree | cf1920b907b7ea0d6f06da149dea9e043d8dd0bb /js/PrefHelpers.js | |
parent | ef1e2a8b2f593b8c81236c20fec30c44a9cac8a2 (diff) |
when uninstall plugins, refresh plugins index instead of reloading entire prefs pane
Diffstat (limited to 'js/PrefHelpers.js')
-rw-r--r-- | js/PrefHelpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
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."); } |