diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-07 21:29:57 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-07 21:29:57 +0100 |
commit | 09dc12ac96880de5dc2d995ce26668fb9c1ab6b6 (patch) | |
tree | 9656a596663ce2291047867c7ee6071507e45ed3 | |
parent | 34d2a62f8607c0697a21565b280b9c66ebd9cc59 (diff) | |
download | luci2-ui-09dc12ac96880de5dc2d995ce26668fb9c1ab6b6.tar.gz |
luci2.ui: properly hide alert message in initial state
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r-- | luci2/htdocs/luci2/ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luci2/htdocs/luci2/ui.js b/luci2/htdocs/luci2/ui.js index 1fb9a49..81c52dc 100644 --- a/luci2/htdocs/luci2/ui.js +++ b/luci2/htdocs/luci2/ui.js @@ -390,9 +390,9 @@ } if (invalid) - state.form.find('.alert-message').show(); + state.form.find('.alert').show(); else - state.form.find('.alert-message').hide(); + state.form.find('.alert').hide(); L.ui.dialog(L.tr('Authorization Required'), state.form, { style: 'confirm', |