projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0cd7ff
)
luci-base: form.js: add CSS class to invalid option dismiss button
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 27 Jul 2020 15:05:35 +0000
(17:05 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 28 Jul 2020 18:57:04 +0000
(20:57 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 0a8f87f4b80377a46c8e5efb88e54be769fc2134..89d92c8f9d2f9c7593f66450d2f1397950c29b83 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/form.js
@@
-603,7
+603,7
@@
var CBIMap = CBIAbstractElement.extend(/** @lends LuCI.form.Map.prototype */ {
E('p', {}, [ _('An error occurred while saving the form:') ]),
E('p', {}, [ E('em', { 'style': 'white-space:pre' }, [ e.message ]) ]),
E('div', { 'class': 'right' }, [
- E('button', { 'click': ui.hideModal }, [ _('Dismiss') ])
+ E('button', { 'cl
ass': 'btn', 'cl
ick': ui.hideModal }, [ _('Dismiss') ])
])
]);
}