projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7add127
)
luci2: fix undefined ifname exception when processing wireless status with disabled...
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 13 Jun 2014 11:57:00 +0000
(13:57 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 13 Jun 2014 11:57:00 +0000
(13:57 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 6bf159d66478c080001364e801260e4e43847c79..2a2a35984be4c7a09614a4ed096a9e893e61a07c 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-1918,7
+1918,7
@@
function LuCI2()
var ifcs = self.rpcCache.wifistate[s.device].interfaces;
for (var ifc in ifcs)
{
- if (ifcs[ifc].section == sid)
+ if (ifcs[ifc].section == sid
&& ifcs[ifc].ifname
)
{
ifname = ifcs[ifc].ifname;
break;