From 8b1dd5dec3458028e4e9911a001f3572989ebfc2 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 19 Jul 2024 08:20:21 +0200 Subject: [PATCH] luci-base: fixing a regression that was add by the ne button-row css class Signed-off-by: Florian Eckert --- modules/luci-base/htdocs/luci-static/resources/form.js | 6 +++--- 1 file 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); -- 2.30.2