1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Completed the Show Self Events Only feature.

This commit is contained in:
Ylian Saint-Hilaire 2019-09-19 11:21:35 -07:00
parent 2ffea1ffef
commit 296f06db4b
4 changed files with 86 additions and 4 deletions

View file

@ -1024,7 +1024,7 @@ function CreateMeshCentralServer(config, args) {
for (var i in obj.eventsDispatch[id]) {
if (targets.indexOf(obj.eventsDispatch[id][i]) == -1) { // Check if we already displatched to this target
targets.push(obj.eventsDispatch[id][i]);
try { obj.eventsDispatch[id][i].HandleEvent(source, event); } catch (ex) {
try { obj.eventsDispatch[id][i].HandleEvent(source, event, ids, id); } catch (ex) {
console.log(ex, obj.eventsDispatch[id][i]);
}
}