diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-07-27 17:05:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-07-28 20:57:04 +0200 |
commit | 1c92d9f706de9a411c549bac60a9a3ba67533f4e (patch) | |
tree | 9d12d675422abcb6ca0443c6d4d5a3e1118e2e24 /modules/luci-base/htdocs/luci-static | |
parent | b0cd7ff7054d0c83bd045b5f22ffba5f05d6cc8d (diff) |
luci-base: form.js: add CSS class to invalid option dismiss button
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 0a8f87f4b8..89d92c8f9d 100644 --- 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', { 'class': 'btn', 'click': ui.hideModal }, [ _('Dismiss') ]) ]) ]); } |