summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorTobias Waldvogel <tobias.waldvogel@gmail.com>2020-04-18 15:27:54 +0200
committerTobias Waldvogel <tobias.waldvogel@gmail.com>2020-04-18 15:27:54 +0200
commit92773339303d6f5acfd0e4b17a5f06485abca929 (patch)
tree98f09ea1f8e6d60e8375f9b240e625c6fd333edb /applications/luci-app-statistics/htdocs/luci-static/resources
parentd04b8bfc8202163cdf5801844a977da84b740a93 (diff)
Add missing variable declaration for luci_app_statistics plugin df
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources')
-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 34fbb9b5c4..9790788b88 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')