mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-13 07:53:20 -05:00
Fixed web page title with device group
This commit is contained in:
parent
6b3487a1d8
commit
bcbab066c6
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "meshcentral",
|
"name": "meshcentral",
|
||||||
"version": "0.4.0-q",
|
"version": "0.4.0-r",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Remote Management",
|
"Remote Management",
|
||||||
"Intel AMT",
|
"Intel AMT",
|
||||||
|
@ -4230,7 +4230,11 @@
|
|||||||
refreshDeviceEvents();
|
refreshDeviceEvents();
|
||||||
|
|
||||||
// Update the web page title
|
// 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
|
// Clear user consent status if present
|
||||||
p11clearConsoleMsg();
|
p11clearConsoleMsg();
|
||||||
@ -8826,7 +8830,11 @@
|
|||||||
if ((x == 40) && (serverTimelineStats == null)) { refreshServerTimelineStats(); }
|
if ((x == 40) && (serverTimelineStats == null)) { refreshServerTimelineStats(); }
|
||||||
|
|
||||||
// Update the web page title
|
// 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
|
// Generic methods
|
||||||
|
Loading…
Reference in New Issue
Block a user