incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-829) Calling document.addEventListener("backbutton") with the same callback function more than once results in never being able to fully remove the listener
Date Thu, 31 May 2012 18:10:24 GMT

     [ https://issues.apache.org/jira/browse/CB-829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj resolved CB-829.
--------------------------

       Resolution: Fixed
    Fix Version/s: 1.8.0

This is fixed as of [63b20b|http://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=63b20bb41d9ccde67da15d644a57f435cf78484f].
                
> Calling document.addEventListener("backbutton") with the same callback function more
than once results in never being able to fully remove the listener
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-829
>                 URL: https://issues.apache.org/jira/browse/CB-829
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.7.0, 1.8.0
>            Reporter: Simon MacDonald
>            Assignee: Filip Maj
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> I ran into this problem while running mobile spec tests on Android. If I click the Events->Intercept
Backbutton link twice then clicking the HW back button results in two console logs saying
the back button was intercepted. This is okay. Clicking Events->Stop intercept of back
button then clicking the HW back button results in one console log saying the back button
was intercepted. This is still good.
> Clicking Events->Stop intercept of back button then clicking the HW back button results
in one console log saying the back button was intercepted. This is where things break down.
I can click the remove event listener button as many times as I want but it will never be
removed.

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

        

Mime
View raw message