diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2021-11-15 20:18:37 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2021-11-15 20:18:50 +0300 |
| commit | 3a3fde1a2e0beac6d179c6449eaad726100710d7 (patch) | |
| tree | bf180e7b8e77fd045ecd365365db4986d3987140 /js | |
| parent | 8dfefe796812fc1052c8be23f27c1b30431c93ab (diff) | |
when uninstall plugins, refresh plugins index instead of reloading entire prefs pane
Diffstat (limited to '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 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."); } |