From: Florian Eckert Date: Fri, 19 Jul 2024 06:20:21 +0000 (+0200) Subject: luci-base: fixing a regression that was add by the ne button-row css class X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8b1dd5dec3458028e4e9911a001f3572989ebfc2;p=project%2Fluci.git luci-base: fixing a regression that was add by the ne button-row css class Signed-off-by: Florian Eckert --- 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);