summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-06-01 15:25:24 +0200
committerJo-Philipp Wich <jo@mein.io>2021-06-01 15:34:11 +0200
commit26e21d43b5402d0c20bd2222429629c164968668 (patch)
treef56639a9fab88e2e64031ae31f47b7d33216f7f1
parentf3f74bd0fe66b94a99a8d944b63dcd6bdd1b93c6 (diff)
luci-mod-network: clarify device settings reset button tooltip
Ref: #5090 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
index 11d96eecb3..eacb2fb416 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js
@@ -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;