summaryrefslogtreecommitdiff
path: root/js/functions.js
diff options
context:
space:
mode:
authorsupahgreg <[email protected]>2013-04-27 11:01:54 -0500
committersupahgreg <[email protected]>2013-04-27 11:10:21 -0500
commit8ceea119a8287568439a2a9d167b333f74a47e21 (patch)
tree22cb9ec576cc1609aaf753e238209e38bf43708e /js/functions.js
parentabbe9c1f555baa7ae14b9424ff995edb16122d1c (diff)
Add JS PluginHost.HOOK_PARAMS_LOADED and PluginHost.HOOK_RUNTIME_INFO_LOADED to notify when interesting info has been created/updated.
Diffstat (limited to 'js/functions.js')
-rw-r--r--js/functions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/functions.js b/js/functions.js
index 87c52b709..8691c1ee5 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -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;