Added mesh name to device title.

This commit is contained in:
Ylian Saint-Hilaire 2019-09-14 12:10:26 -07:00
parent 7d0a98b2c5
commit 9a4376bd59
3 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,7 @@
<Compile Include="amt\amt-ider-module.js" />
<Compile Include="amt\amt-ider.js" />
<Compile Include="amt\amt-redir-mesh.js" />
<Compile Include="apfserver.js" />
<Compile Include="exeHandler.js" />
<Compile Include="letsencrypt.js" />
<Compile Include="meshaccelerator.js" />

File diff suppressed because one or more lines are too long

View File

@ -3993,6 +3993,7 @@
var nname = EscapeHtml(node.name);
if (nname.length == 0) { nname = '<i>None</i>'; }
if (((meshrights & 4) != 0) && ((!mesh.flags) || ((mesh.flags & 2) == 0))) { nname = '<span tabindex=0 title="Click here to edit the server-side device name" onclick=showEditNodeValueDialog(0) onkeyup="if (event.key == \'Enter\') showEditNodeValueDialog(0)" style=cursor:pointer>' + nname + ' <img class=hoverButton src="images/link5.png" /></span>'; }
nname += '<span style=color:#AAA;font-size:small> - ' + EscapeHtml(mesh.name) + '</span>';
QH('p10deviceName', nname);
QH('p11deviceName', nname);
QH('p12deviceName', nname);