From cb6cc0da7454dc29c43afbc8976eae2a5b4b79eb Mon Sep 17 00:00:00 2001 From: Ryan Blenis Date: Fri, 1 Nov 2019 16:58:24 -0400 Subject: [PATCH] Disable plugin call/check if plugins are not enabled in the config --- views/default.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/default.handlebars b/views/default.handlebars index c1629cc1..a09e2136 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -1308,7 +1308,7 @@ // Fetch list of meshes, nodes, files meshserver.send({ action: 'meshes' }); meshserver.send({ action: 'nodes', id: '{{currentNode}}' }); - meshserver.send({ action: 'plugins' }); + if (pluginHandler != null) { meshserver.send({ action: 'plugins' }); } if ('{{currentNode}}' == '') { meshserver.send({ action: 'files' }); } if ('{{viewmode}}' == '') { go(1); } authCookieRenewTimer = setInterval(function () { meshserver.send({ action: 'authcookie' }); }, 1800000); // Request a cookie refresh every 30 minutes.