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:
e9e9229
)
luci-base: replace button tag with div tag in ui.js
author
Florian Eckert
<fe@dev.tdt.de>
Fri, 7 Jun 2024 07:37:11 +0000
(09:37 +0200)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 99bfb8052fc3341aebeaf9defe0d9dc0588d1403..4170ac366f2ac33ff55c625afc903078caab4a7b 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-4482,7
+4482,7
@@
var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
E('var', {}, E('del', ' ')), ' ', _('Option removed') ])]),
E('br'), list,
E('div', { 'class': 'right' }, [
- E('
button
', {
+ E('
div
', {
'class': 'btn cbi-button',
'click': UI.prototype.hideModal
}, [ _('Close') ]), ' ',
@@
-4496,7
+4496,7
@@
var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
},
click: L.bind(function(ev, mode) { this.apply(mode == '0') }, this)
}).render(), ' ',
- E('
button
', {
+ E('
div
', {
'class': 'btn cbi-button cbi-button-reset',
'click': L.bind(this.revert, this)
}, [ _('Revert') ])])])