mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added database counters.
This commit is contained in:
parent
8d8285b916
commit
c9035b80c8
3 changed files with 65 additions and 10 deletions
|
@ -6483,7 +6483,14 @@
|
|||
}
|
||||
|
||||
function deskClipboardOutFunction() {
|
||||
if ((navigator.clipboard != null) && (navigator.clipboard.readText != null)) { navigator.clipboard.readText().then(function(text) { meshserver.send({ action: 'msg', type: 'setclip', nodeid: currentNode._id, data: text }); }).catch(function(err) { }); }
|
||||
if ((navigator.clipboard != null) && (navigator.clipboard.readText != null)) {
|
||||
try {
|
||||
navigator.clipboard.readText().then(function(text) {
|
||||
meshserver.send({ action: 'msg', type: 'setclip', nodeid: currentNode._id, data: text });
|
||||
}).catch(function(err) { console.log(err); });
|
||||
} catch (ex) { console.log(ex); }
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function deskRefreshFunction() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue