mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-04-22 03:24:24 -04:00
Fixed device information export in non-english web pages.
This commit is contained in:
parent
b66d259c94
commit
d76b3943ee
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
2
public/scripts/amt-wsman-0.2.0-min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -4030,7 +4030,7 @@
|
|||||||
|
|
||||||
// Get the list of checked devices, removes any duplicates.
|
// Get the list of checked devices, removes any duplicates.
|
||||||
function getCheckedDevices() {
|
function getCheckedDevices() {
|
||||||
var nodeids = [], elements = document.getElementsByClassName("DeviceCheckbox"), checkcount = 0;
|
var nodeids = [], elements = document.getElementsByClassName('DeviceCheckbox'), checkcount = 0;
|
||||||
for (var i=0;i<elements.length;i++) { if (elements[i].checked) { if (elements[i].value) { var nid = elements[i].value.substring(6); if (nodeids.indexOf(nid) == -1) { nodeids.push(nid); } } } }
|
for (var i=0;i<elements.length;i++) { if (elements[i].checked) { if (elements[i].value) { var nid = elements[i].value.substring(6); if (nodeids.indexOf(nid) == -1) { nodeids.push(nid); } } } }
|
||||||
return nodeids;
|
return nodeids;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user