[xwiki-notifications] [Issue] Updated: (XPWATCHLIST-26) Only redraw watchlist menu instead of entire menu when enabling/disabling a space/page.

Rob (JIRA) jira at xwiki.org
Tue Jul 1 14:52:56 CEST 2008


     [ http://jira.xwiki.org/jira/browse/XPWATCHLIST-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob updated XPWATCHLIST-26:
---------------------------

    Attachment: XPWATCHLIST-25.patch

> Only redraw watchlist menu instead of entire menu  when enabling/disabling a space/page.
> ----------------------------------------------------------------------------------------
>
>                 Key: XPWATCHLIST-26
>                 URL: http://jira.xwiki.org/jira/browse/XPWATCHLIST-26
>             Project: XWiki Watch List Application
>          Issue Type: Improvement
>          Components: Application
>    Affects Versions: 1.3, 1.4, 1.5
>            Reporter: Rob
>         Attachments: XPWATCHLIST-25.patch
>
>
> If somebody were to use prototype Event.observe on certain menu actions, after choosing to watch/unwatch a space/page and re-drawing the entire menu (menuview.vm) the listeners would be lost. For example, I implemented "send page by email" in a lightbox which was hidden on page load. I used prototype to listen for a click on an 'email page' button on the print menu. When the entire menu is redrawn, the listener/s are broken, which is why I'm only redrawing the watch section of the main menu. It also slightly saves bandwidth. That is why I created a separate template to be used for drawing the watchlist section of the menu. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the notifications mailing list