From 54d1129b431f71c9a2a765051c7818b1ff3f22f0 Mon Sep 17 00:00:00 2001 From: wez3 Date: Wed, 4 Jan 2017 19:49:57 +0100 Subject: [PATCH] Fix settings page issues 2. --- templates/settings.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/settings.html b/templates/settings.html index 75440f4..d081b40 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -103,7 +103,7 @@ function installPlugin(plugin_id) { var url = "/api?custom=indexPlugins&action=installPlugin&folid=" + plugin_id; requestAPI(url, function(d){ - getIndexedPlugins(); + automaticIndex(); }); @@ -111,7 +111,7 @@ function removePlugin(plugin_id) { var url = "/api?custom=indexPlugins&action=removePlugin&folid=" + plugin_id; requestAPI(url, function(d){ - getIndexedPlugins(); + automaticIndex(); }); } @@ -120,14 +120,14 @@ requestAPI(url, function(d) { var url = "/api?custom=indexPlugins&action=installPlugin&folid=" + plugin_id; requestAPI(url, function(dd) { - getIndexedPlugins(); + automaticIndex(); }); }); } - function automaticIndex() { + function automaticIndex() { var url = "/api?custom=indexPlugins"; requestAPI(url, function(d){ getIndexedPlugins(d);