projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34d2a62
)
luci2.ui: properly hide alert message in initial state
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 7 Jan 2015 20:29:57 +0000
(21:29 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 7 Jan 2015 20:29:57 +0000
(21:29 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
luci2/htdocs/luci2/ui.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/ui.js
b/luci2/htdocs/luci2/ui.js
index 1fb9a4947c0c8b4413ded5b4769a69c4893692a4..81c52dc950e61ebc0c8bb43e8d3c73dc0cbb689d 100644
(file)
--- 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',