The documentation, http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI , doesn't specify any other event besides xwiki:annotations:filter:changed and xwiki:annotations:settings:loaded. You can check the JSX objects in the AnnotationCode space to be sure though.
Hope this helps, Marius On Wed, Aug 17, 2011 at 4:40 AM, norir <[email protected]> wrote: > Is there an event to listen for annotation added. I am looking for something > similar to xwiki:annotations:filter:changed > > I would like to listen to annotation added events > > document.observe("xwiki:annotations:filter:changed", function(event){ > alert("annot filter change"); > }); > > ===I would like to know if this is available==== > document.observe("xwiki:annotations:added", function(event){ > alert("annot filter change"); > }); > > Thanks > > Ravi > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Annotation-added-event-tp6693845p6693845.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
