diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-05-17 21:47:33 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-05-17 21:48:01 +0200 |
commit | d6dbedd9e2c77f44be0f64ee8128401a293f77f4 (patch) | |
tree | e5c7ce8fc2f04db2993b0f1b869bd49ac8805ee9 /modules/luci-base/htdocs/luci-static | |
parent | c19020b2a4236945c1ad4a699ebb761a5dd7dc1f (diff) |
luci-base: ui.js: add required CSS class to dynlist widget
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/ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 447bcbae09..2c4a9bf395 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -2208,7 +2208,7 @@ var UIDynamicList = UIElement.extend(/** @lends LuCI.ui.DynamicList.prototype */ 'id': this.options.id, 'class': 'cbi-dynlist', 'disabled': this.options.disabled ? '' : null - }, E('div', { 'class': 'add-item' })); + }, E('div', { 'class': 'add-item control-group' })); if (this.choices) { if (this.options.placeholder != null) @@ -4654,7 +4654,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { E('button', { 'class': 'btn cbi-button-action important', 'click': resolveFn.bind(null, true) - }, [ _('Apply and revert on connectivity loss') ]), ' ', + }, [ _('Apply with revert after connectivity loss') ]), ' ', E('button', { 'class': 'btn cbi-button-negative important', 'click': resolveFn.bind(null, false) |