luci-mod-network: clarify device settings "Delete" button
Use proper label text "Unconfigure" for button which "Remove related device settings". Ref: #5090, #5092 Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
This commit is contained in:
parent
8c35a940fe
commit
1b58decdab
1 changed files with 1 additions and 1 deletions
|
@ -1273,7 +1273,7 @@ return view.extend({
|
||||||
var trEl = this.super('renderRowActions', [ section_id, _('Configure…') ]),
|
var trEl = this.super('renderRowActions', [ section_id, _('Configure…') ]),
|
||||||
deleteBtn = trEl.querySelector('button:last-child');
|
deleteBtn = trEl.querySelector('button:last-child');
|
||||||
|
|
||||||
deleteBtn.firstChild.data = _('Reset');
|
deleteBtn.firstChild.data = _('Unconfigure');
|
||||||
deleteBtn.setAttribute('title', _('Remove related device settings from the configuration'));
|
deleteBtn.setAttribute('title', _('Remove related device settings from the configuration'));
|
||||||
deleteBtn.disabled = section_id.match(/^dev:/) ? true : null;
|
deleteBtn.disabled = section_id.match(/^dev:/) ? true : null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue