diff options
author | Andrew Dolgov <[email protected]> | 2013-04-25 10:09:40 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-25 10:09:40 +0400 |
commit | 2779e22bf5eb8eab0af91138e0d613f604a60a1a (patch) | |
tree | c4d3471305a748922a897e4830bc34ed2740bb37 /js/viewfeed.js | |
parent | 06a02265c47fc17bc45fe5222581873fc652ab61 (diff) |
js: add collapsed and expanded hooks
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r-- | js/viewfeed.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 96919dc01..da869d92a 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -1416,6 +1416,8 @@ function cdmCollapseArticle(event, id) { } if (event) Event.stop(event); + + PluginHost.run(PluginHost.HOOK_ARTICLE_COLLAPSED, id); } } catch (e) { @@ -1503,6 +1505,8 @@ function cdmExpandArticle(id, noexpand) { toggleSelected(id); $("RROW-" + id).addClassName("active"); + PluginHost.run(PluginHost.HOOK_ARTICLE_EXPANDED, id); + } catch (e) { exception_error("cdmExpandArticle", e); } |