summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2020-04-18 16:04:26 +0200
committerGitHub <noreply@github.com>2020-04-18 16:04:26 +0200
commit1f082a6ac68e0eadefbb1066f4032fb0d2745cfa (patch)
tree98f09ea1f8e6d60e8375f9b240e625c6fd333edb /applications
parentd04b8bfc8202163cdf5801844a977da84b740a93 (diff)
parent92773339303d6f5acfd0e4b17a5f06485abca929 (diff)
Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_df
luci_app_statistics: Add missing variable declaration for plugin df
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/df.js1
1 files changed, 1 insertions, 0 deletions
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')