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:
7e9ce8c
)
luci2: Do not produce uneeded anonymous arrays in LuCI2.cbi.TypedSection.sections()
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 1 Feb 2014 18:06:57 +0000
(18:06 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 1 Feb 2014 18:06:57 +0000
(18:06 +0000)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 7a6e6a551b5ce5275828a96f5d7e2c3afcce1cfb..887aec8ed6fa6152bd732506d223c66f4c42a8b0 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-6330,7
+6330,7
@@
function LuCI2()
if (typeof(cb) == 'function')
for (var i = 0; i < s2.length; i++)
- cb.
apply(this, [ s2[i]
]);
+ cb.
call(this, s2[i
]);
return s2;
},