mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 00:55:55 +00:00
Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated.
This commit is contained in:
@@ -1277,6 +1277,9 @@ function backend_sanity_check_callback(transport) {
|
||||
}
|
||||
|
||||
init_params = params;
|
||||
|
||||
// PluginHost might not be available on non-index pages
|
||||
window.PluginHost && PluginHost.run(PluginHost.HOOK_PARAMS_LOADED, init_params);
|
||||
}
|
||||
|
||||
sanity_check_done = true;
|
||||
|
||||
Reference in New Issue
Block a user