mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 14:46:49 +03:00
Fixed web page title with device group
This commit is contained in:
parent
6b3487a1d8
commit
bcbab066c6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "meshcentral",
|
||||
"version": "0.4.0-q",
|
||||
"version": "0.4.0-r",
|
||||
"keywords": [
|
||||
"Remote Management",
|
||||
"Intel AMT",
|
||||
|
@ -4230,7 +4230,11 @@
|
||||
refreshDeviceEvents();
|
||||
|
||||
// Update the web page title
|
||||
if ((currentNode) && (xxcurrentView >= 10) && (xxcurrentView < 20)) { document.title = decodeURIComponent("{{{extitle}}}") + ' - ' + currentNode.name + ' - ' + mesh.name; } else { document.title = decodeURIComponent("{{{extitle}}}"); }
|
||||
if ((currentNode) && (xxcurrentView >= 10) && (xxcurrentView < 20)) {
|
||||
document.title = decodeURIComponent("{{{extitle}}}") + ' - ' + currentNode.name + ' - ' + mesh.name;
|
||||
} else {
|
||||
document.title = decodeURIComponent("{{{extitle}}}");
|
||||
}
|
||||
|
||||
// Clear user consent status if present
|
||||
p11clearConsoleMsg();
|
||||
@ -8826,7 +8830,11 @@
|
||||
if ((x == 40) && (serverTimelineStats == null)) { refreshServerTimelineStats(); }
|
||||
|
||||
// Update the web page title
|
||||
if ((currentNode) && (x >= 10) && (x < 20)) { document.title = decodeURIComponent("{{{extitle}}}") + ' - ' + currentNode.name; } else { document.title = decodeURIComponent("{{{extitle}}}"); }
|
||||
if ((currentNode) && (x >= 10) && (x < 20)) {
|
||||
document.title = decodeURIComponent("{{{extitle}}}") + ' - ' + currentNode.name + ' - ' + meshes[currentNode.meshid].name;
|
||||
} else {
|
||||
document.title = decodeURIComponent("{{{extitle}}}");
|
||||
}
|
||||
}
|
||||
|
||||
// Generic methods
|
||||
|
Loading…
Reference in New Issue
Block a user