luci-base: ui.js: mark widget optional if empty choice is present
authorJo-Philipp Wich <jo@mein.io>
Sun, 28 Jul 2019 15:24:12 +0000 (17:24 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 1 Aug 2019 14:45:54 +0000 (16:45 +0200)
commit360e9769d612d4aab388cae2ddb74794eb08240f
treeb3efb5a577641fc6c9d5a794aee2ef5a1ee38df7
parentb20f000c85e7e10ffa4538a3240a9975d2b0d904
luci-base: ui.js: mark widget optional if empty choice is present

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