luci-mod-network: clarify device settings reset button tooltip
Ref: #5090 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 26e21d43b5402d0c20bd2222429629c164968668)
This commit is contained in:
parent
9bbf5d4002
commit
caa0abf99a
@ -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…
x
Reference in New Issue
Block a user