luci-base: properly handle getWifiNetidBySid() return value
authorJo-Philipp Wich <jo@mein.io>
Tue, 9 Jul 2019 15:48:46 +0000 (17:48 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 9 Jul 2019 15:50:21 +0000 (17:50 +0200)
commitffdafd48009ae66c2bc97cabf4f038c120737e02
treeecb899a6d46e91ada2801415cd2f2f7f6206dd77
parente5b233f325d4e310aa67415a2557f94380a36706
luci-base: properly handle getWifiNetidBySid() return value

The getWifiNetidBySid() helper returns an array containing the network id
and the corresponding radio name, not just the id.

Fixes: #2846.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js