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

Add 2 new hooks for detecting page changes in the webUI

This commit is contained in:
Ryan Blenis 2019-12-28 06:55:09 -05:00
parent 2fb79ae605
commit f6913b4918
2 changed files with 4 additions and 0 deletions

View file

@ -9834,6 +9834,7 @@
}
function go(x, event) {
if (pluginHandler != null) pluginHandler.callHook('goPageStart', x, event);
setSessionActivity();
if (xxdialogMode) return;
QV('uiMenu', false);
@ -9959,6 +9960,7 @@
} else {
document.title = decodeURIComponent('{{{extitle}}}');
}
if (pluginHandler != null) pluginHandler.callHook('goPageEnd', x, event);
}
//