luci-base: ui.js: fix rendering of rich dropdown placeholders
authorJo-Philipp Wich <jo@mein.io>
Thu, 6 Jun 2019 18:49:19 +0000 (20:49 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 7 Jul 2019 13:36:25 +0000 (15:36 +0200)
commit4a0f8b55415b48d2d28475f3844558691ea891c5
tree93055772f32328107c81d08a6b677a3770ec034f
parent2f79aa1c357932c9c573703da2dddf555b2e2e4d
luci-base: ui.js: fix rendering of rich dropdown placeholders

Placeholders may be HTML elements instead of plain strings, so do
not use innerHTML to assign them but rely on L.dom.content() instead.

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