mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-30 12:30:52 +02:00
when uninstall plugins, refresh plugins index instead of reloading entire prefs pane
This commit is contained in:
parent
8dfefe7968
commit
3a3fde1a2e
|
@ -450,7 +450,7 @@ const Helpers = {
|
||||||
|
|
||||||
xhr.json("backend.php", {op: "pref-prefs", method: "uninstallPlugin", plugin: plugin}, (reply) => {
|
xhr.json("backend.php", {op: "pref-prefs", method: "uninstallPlugin", plugin: plugin}, (reply) => {
|
||||||
if (reply && reply.status == 1)
|
if (reply && reply.status == 1)
|
||||||
Helpers.Prefs.refresh();
|
Helpers.Plugins.reload();
|
||||||
else {
|
else {
|
||||||
Notify.error("Plugin uninstallation failed.");
|
Notify.error("Plugin uninstallation failed.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user