mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:26:04 +08:00
7290a74aa6
This new app event will fire whenever a bookmark is created, edited, or deleted for a post or topic, and replaces these old app events which had inconsistent APIs: * page:bookmark-post-toggled * topic:bookmark-toggled When the event is triggered, the arguments are in this order: 1. bookmark - The bookmark record created or changed. Will be null if the bookmark was deleted. 2. target - Object with target (post or topic) and targetId (post ID or topic ID) |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |