diff options
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index e5213ff139..8049c4a3a6 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1265,7 +1265,7 @@ return L.view.extend({ o.cfgvalue = function(section_id) { var slot = +uci.get('wireless', section_id, 'key'); - return (slot >= 1 && slot <= 4) ? slot : 1; + return String((slot >= 1 && slot <= 4) ? slot : 1); }; o.write = function(section_id, value) { |