[richfaces-issues] [JBoss JIRA] (RF-12065) Continuous event polling in available.js

Nicholas Oxhøj (JIRA) jira-events at lists.jboss.org
Tue Mar 20 07:33:48 EDT 2012


     [ https://issues.jboss.org/browse/RF-12065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicholas Oxhøj updated RF-12065:
--------------------------------

    Description: 
In available.js there are two functions activatePolling() and stopPolling(), used to wait for a specific DOM element becoming available.

But while activatePolling() starts observing the events "*mousemove*", "focus", and "focusin", stopPolling() stops observing the events "*mouseover*", "focus", and "focusin" - which means that it will _keep_ calling onEvent() on every "mousemove", even when the relevant element has already been found...

  was:
In available.js there is two functions activatePolling() and stopPolling(), used to wait for a specific DOM element becoming available.

But while activatePolling() starts observing the events "*mousemove*", "focus", and "focusin", stopPolling() stops observing the events "*mouseover*", "focus", and "focusin" - which means that it will _keep_ calling onEvent() on every "mousemove", even when the relevant element has already been found...


    
> Continuous event polling in available.js
> ----------------------------------------
>
>                 Key: RF-12065
>                 URL: https://issues.jboss.org/browse/RF-12065
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 3.3.3.Final
>            Reporter: Nicholas Oxhøj
>            Priority: Minor
>
> In available.js there are two functions activatePolling() and stopPolling(), used to wait for a specific DOM element becoming available.
> But while activatePolling() starts observing the events "*mousemove*", "focus", and "focusin", stopPolling() stops observing the events "*mouseover*", "focus", and "focusin" - which means that it will _keep_ calling onEvent() on every "mousemove", even when the relevant element has already been found...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list