luci-base: cbi.js: fix dropdown and browser initialization
authorJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 15:37:42 +0000 (17:37 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Sep 2019 15:37:42 +0000 (17:37 +0200)
commitc0f3e3c6a297da4ec13955eef9dedb419fdc4894
tree0ddad66c2cd8b0e89cf4b2bc4f59faf81dfd6071
parent7513a4ca35815f60187b7d33fdd2ee3aa5cb4a2b
luci-base: cbi.js: fix dropdown and browser initialization

We need to query the dropdowns before initializing dynamic lists but
after initializing combo boxes.

Also fix a copy-paste error from a previous commit.

Fixes: 010102c2c ("luci-base: cbi.js: find dropdown and browser instances early")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/cbi.js