diff options
author | Andrew Dolgov <[email protected]> | 2013-04-27 09:28:35 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-27 09:28:35 -0700 |
commit | 712032589c584df154ab4e97c0f1bd5289d4fb1a (patch) | |
tree | 22cb9ec576cc1609aaf753e238209e38bf43708e /js/tt-rss.js | |
parent | 5e1f7be5f1b704f85114740372fa6e6aa4273446 (diff) | |
parent | 8ceea119a8287568439a2a9d167b333f74a47e21 (diff) |
Merge pull request #170 from supahgreg/hook_params_runtime_loaded
Adding JS hooks for init params and runtime info
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r-- | js/tt-rss.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index a7518959c..2a741ab2d 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -753,6 +753,8 @@ function parse_runtime_info(data) { init_params[k] = v; notify(''); } + + PluginHost.run(PluginHost.HOOK_RUNTIME_INFO_LOADED, data); } function collapse_feedlist() { @@ -992,7 +994,7 @@ function handle_rpc_json(transport, scheduled_call) { if (counters) parse_counters(counters, scheduled_call); - var runtime_info = reply['runtime-info'];; + var runtime_info = reply['runtime-info']; if (runtime_info) parse_runtime_info(runtime_info); |