triceam / app-UI

app-UI is a collection of user interface components that may be helpful to web and mobile developers for creating interactive applications using HTML and JavaScript, especially those targeting mobile devices. app-UI is a continual work in progress - it was born out of the necessity to have rich & native-feeling interfaces in HTML/JS experiences, and it works great with PhoneGap applications (http://www.phonegap.com). app-UI can easily be styled/customized using CSS.
http://triceam.github.com/app-UI/
Other
1.27k stars 228 forks source link

Event listeners on views disappear #20

Closed triceam closed 12 years ago

triceam commented 12 years ago

Event listeners disappearing on a view once a new view has been pushed into the view navigator.

triceam commented 12 years ago

ViewNavigator was using jQuery's .remove() function, which kills event listeners (even if you still need them). Switched to use jQuery .detach(), which keeps view navigators.