summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-07-19 08:20:21 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-07-19 08:20:21 +0200
commit8b1dd5dec3458028e4e9911a001f3572989ebfc2 (patch)
tree1aad3a6da4a28b596f0095dd9da82bc0347e603a /modules/luci-base/htdocs
parent4bb1c8a3c8fe3ef181a536a624c94a0b8a164ee2 (diff)
luci-base: fixing a regression that was add by the ne button-row css class
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index 337c9608b1..3834bceb01 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -2974,7 +2974,7 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
if (!this.getPreviousModalMap())
prevNode.parentNode
- .querySelector('div.right > button')
+ .querySelector('div.button-row > button')
.firstChild.data = _('Dismiss');
}
else {
@@ -3207,8 +3207,8 @@ var CBITableSection = CBITypedSection.extend(/** @lends LuCI.form.TableSection.p
.appendChild(E('span', title ? ' ยป ' + title : ''));
mapNode.parentNode
- .querySelector('div.right > button')
- .firstChild.data = _('Back');
+ .querySelector('div.button-row > button')
+ .firstChild.data = _('Dismiss');
mapNode.classList.add('hidden');
mapNode.parentNode.insertBefore(nodes, mapNode.nextElementSibling);