luci-base: add missing btn css class to button
authorFlorian Eckert <redacted>
Fri, 19 Jul 2024 06:16:33 +0000 (08:16 +0200)
committerFlorian Eckert <redacted>
Fri, 19 Jul 2024 06:16:33 +0000 (08:16 +0200)
Signed-off-by: Florian Eckert <redacted>
modules/luci-base/htdocs/luci-static/resources/form.js

index c6d2445a5583feb253b40be2bd18c77c320269e9..337c9608b1cd6dbd6b1147cef69c570a59feb507 100644 (file)
@@ -2672,7 +2672,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
                        dom.append(tdEl.lastElementChild,
                                E('button', {
                                        'title': _('Edit'),
-                                       'class': 'cbi-button cbi-button-edit',
+                                       'class': 'btn cbi-button cbi-button-edit',
                                        'click': evFn
                                }, [ _('Edit') ])
                        );
@@ -2682,7 +2682,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
                        dom.append(tdEl.lastElementChild,
                                E('button', {
                                        'title': more_label,
-                                       'class': 'cbi-button cbi-button-edit',
+                                       'class': 'btn cbi-button cbi-button-edit',
                                        'click': ui.createHandlerFn(this, 'renderMoreOptionsModal', section_id)
                                }, [ more_label ])
                        );
@@ -2694,7 +2694,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
                        dom.append(tdEl.lastElementChild,
                                E('button', {
                                        'title': btn_title || _('Delete'),
-                                       'class': 'cbi-button cbi-button-remove',
+                                       'class': 'btn cbi-button cbi-button-remove',
                                        'click': ui.createHandlerFn(this, 'handleRemove', section_id),
                                        'disabled': this.map.readonly || null
                                }, [ btn_title || _('Delete') ])
git clone https://git.99rst.org/PROJECT