1
0
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:
supahgreg
2013-04-27 11:01:54 -05:00
parent abbe9c1f55
commit 8ceea119a8
3 changed files with 8 additions and 1 deletions

View File

@@ -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;