Propagating changes back to users
-
If my plugin is listening to an action filter for edited posts and, based on the content of the post, sets a custom property on the post, how do I update the view so that it's reflected in the browser in real time?
Currently, it requires a refresh to see the changes, however edited posts are automatically refreshed in real time. Is there an event I need to fire to take advantage of this refresh?
-
A related question, I am trying to update an existing tooltip when the event fires and it seems to work only sometimes. Currently I am setting the
title
attribute, followed by destroying the tooltip and then calling$el.tooltip(...)
. Is there another way to do this as it seems that the tooltip doesn't always get recreated with the correct text . I do see adata-original-title
attribute, so its clearly setting a tooltip, just retaining the previous text. -