diff options
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js index 89b861a84b..17ec51be53 100644 --- a/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js +++ b/applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/apcups.js @@ -15,6 +15,9 @@ return baseclass.extend({ o.default = 'localhost'; o.datatype = 'host'; o.depends('enable', '1'); + o.write = function(section_id, value) { + return form.Value.prototype.write.call(this, section_id, L.toArray(value).join(' ')); + }; o = s.option(form.Value, 'Port', _('Port for apcupsd communication')); o.default = '3551'; |