aboutsummaryrefslogtreecommitdiff
path: root/foris/templates/javascript
diff options
context:
space:
mode:
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();