Skip to content

Commit

Permalink
luci-base: fixing a regression that was add by the ne button-row css …
Browse files Browse the repository at this point in the history
…class

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
  • Loading branch information
feckert committed Jul 19, 2024
1 parent 4bb1c8a commit 8b1dd5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/luci-base/htdocs/luci-static/resources/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8b1dd5d

Please sign in to comment.