From: Tobias Waldvogel Date: Sat, 18 Apr 2020 13:27:54 +0000 (+0200) Subject: Add missing variable declaration for luci_app_statistics plugin df X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92773339303d6f5acfd0e4b17a5f06485abca929;p=oweals%2Fluci.git Add missing variable declaration for luci_app_statistics plugin df Signed-off-by: Tobias Waldvogel --- diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js index 34fbb9b5c..9790788b8 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js @@ -72,6 +72,7 @@ return baseclass.extend({ }; var types = graph.dataTypes(host, plugin, plugin_instance); + var p = []; for (var i = 0; i < types.length; i++) if (types[i] == 'percent_bytes')