mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-26 06:03:15 -05:00
Fixed device information export in non-english web pages.
This commit is contained in:
parent
11c65ec42c
commit
3e07d717ce
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.
|
||||
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); } } } }
|
||||
return nodeids;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user