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:
parent
2fb79ae605
commit
f6913b4918
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue