luci-mod-network: clarify device settings reset button tooltip
Ref: #5090 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
f3f74bd0fe
commit
26e21d43b5
1 changed files with 1 additions and 0 deletions
|
@ -1139,6 +1139,7 @@ return view.extend({
|
|||
deleteBtn = trEl.querySelector('button:last-child');
|
||||
|
||||
deleteBtn.firstChild.data = _('Reset');
|
||||
deleteBtn.setAttribute('title', _('Remove related device settings from the configuration'));
|
||||
deleteBtn.disabled = section_id.match(/^dev:/) ? true : null;
|
||||
|
||||
return trEl;
|
||||
|
|
Loading…
Reference in a new issue