mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 15:36:22 +04:00
luci-base: fixing a regression that was add by the ne button-row css class
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user