luci-base: form.js: only update option default if cfgvalue is null
authorJo-Philipp Wich <jo@mein.io>
Fri, 20 Sep 2019 07:58:31 +0000 (09:58 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 Sep 2019 07:58:31 +0000 (09:58 +0200)
commitd10575dfee1a09c41fe60ece2f6fe78e41d1946d
tree9616692a62533e76ebdbedcd63ee2e957c60c879
parent63f28fd0657c121541b1beaabc901dccdf26a534
luci-base: form.js: only update option default if cfgvalue is null

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