diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-08-15 17:57:25 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-08-15 17:57:25 +0200 |
commit | 8e8481885d3134e8d994a30fd5254fc6d41df9ea (patch) | |
tree | fefb65fec9f438ee319d1c523ccb8e7417ee215b /foris/templates/javascript | |
parent | 137e9ac603fac87d42a9e383885827a4e769110d (diff) | |
download | turris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.tar.gz turris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.tar.bz2 turris-ups-pfc8591-8e8481885d3134e8d994a30fd5254fc6d41df9ea.zip |
Rename from i2c-collect to more suitable ups-pfc8591v0.2
Diffstat (limited to 'foris/templates/javascript')
-rw-r--r-- | foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl (renamed from foris/templates/javascript/i2c_collect/i2c_collect.js.tpl) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/foris/templates/javascript/i2c_collect/i2c_collect.js.tpl b/foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl index 0ca8108..5ee281d 100644 --- a/foris/templates/javascript/i2c_collect/i2c_collect.js.tpl +++ b/foris/templates/javascript/ups_pfc8591/ups_pfc8591.js.tpl @@ -66,7 +66,7 @@ $(document).ready(function() { }); /* -Foris.WS["i2c-collect"] = function (data) { +Foris.WS["ups-pfc8591"] = function (data) { for (d in data) { Foris.lineChartData[d].datasets[0].data.push(data[d][0]); Foris.lineChartData[d].datasets[0].data.shift(); |