From 92773339303d6f5acfd0e4b17a5f06485abca929 Mon Sep 17 00:00:00 2001 From: Tobias Waldvogel Date: Sat, 18 Apr 2020 15:27:54 +0200 Subject: [PATCH] Add missing variable declaration for luci_app_statistics plugin df Signed-off-by: Tobias Waldvogel --- .../luci-static/resources/statistics/rrdtool/definitions/df.js | 1 + 1 file changed, 1 insertion(+) 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') -- 2.25.1