luci-base: add missing css classes btn and cbi-button to ui.js
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 7 Jun 2024 07:34:27 +0000 (09:34 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 7 Jun 2024 11:33:00 +0000 (13:33 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-base/htdocs/luci-static/resources/ui.js

index 90ff86b75a9e9704a936450974ec1fc393087e37..99bfb8052fc3341aebeaf9defe0d9dc0588d1403 100644 (file)
@@ -4483,7 +4483,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
                                        E('br'), list,
                                        E('div', { 'class': 'right' }, [
                                                E('button', {
-                                                       'class': 'btn',
+                                                       'class': 'btn cbi-button',
                                                        'click': UI.prototype.hideModal
                                                }, [ _('Close') ]), ' ',
                                                new UIComboButton('0', {
@@ -4497,7 +4497,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
                                                        click: L.bind(function(ev, mode) { this.apply(mode == '0') }, this)
                                                }).render(), ' ',
                                                E('button', {
-                                                       'class': 'cbi-button cbi-button-reset',
+                                                       'class': 'btn cbi-button cbi-button-reset',
                                                        'click': L.bind(this.revert, this)
                                                }, [ _('Revert') ])])])
                        ]);