Updated MeshCentral Assistant.
This commit is contained in:
parent
900c470c15
commit
decd507ac8
Binary file not shown.
|
@ -9333,7 +9333,9 @@
|
||||||
function p13gotFiles(data) {
|
function p13gotFiles(data) {
|
||||||
if ((data.length > 0) && (data.charCodeAt(0) != 123)) { p13gotDownloadBinaryData(data); return; } // This is ok because 4 first bytes is a control value.
|
if ((data.length > 0) && (data.charCodeAt(0) != 123)) { p13gotDownloadBinaryData(data); return; } // This is ok because 4 first bytes is a control value.
|
||||||
//console.log('p13gotFiles', data);
|
//console.log('p13gotFiles', data);
|
||||||
try { data = JSON.parse(decode_utf8(data)); } catch (ex) { data = JSON.parse(data); }
|
try { data = JSON.parse(decode_utf8(data)); } catch (ex) {
|
||||||
|
try { data = JSON.parse(data); } catch (ex) { console.log('Unable to parse: ' + data); return; }
|
||||||
|
}
|
||||||
if (data.action == 'download') { p13gotDownloadCommand(data); return; }
|
if (data.action == 'download') { p13gotDownloadCommand(data); return; }
|
||||||
|
|
||||||
// Find file result
|
// Find file result
|
||||||
|
|
Loading…
Reference in New Issue