This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
Navigating back is broken with autoInitializePage = false (Cannot call method 'trigger' of undefined) #5284
Milestone
When navigating away from a jQueryMobile application and then back creates an exception when that application has set
$.mobile.autoInitializePage = false
and calls$.mobile.initializePage()
by itself.Steps to reproduce:
Expected result:
See meaningless debug output
Actual result:
Uncaught TypeError: Cannot call method 'trigger' of undefined
This stems from the fact that
$.mobile.pageContainer
is undefined beforeinitializePage
The text was updated successfully, but these errors were encountered: