> // Let listeners know we're about to change the current page.
> mpc.trigger( pbcEvent, triggerData ); // Line #3794
The `Uncaught TypeError` is caused by Line #3794, because `mpc` is `undefined`.
So, from JQM, In the Chrome inspector, I can see also that `settings.fromPage` is `undefined` and `settings.pageContainer` is `undefined`. I kind of imagine, that JQM cannot make an assumption on the fromPage, and therefore, cannot proceed on my refresh. All the options I have tried on the $mobile.changePage() have not succeed. I am out of ideas.
Any help will be appreciated.
I've found the source of the problem to be jquery-mobile version 1.3.0. When I fall back to either JSM 1.2.0 or 1.2.1, the "Uncaught TypeError: Cannot call method 'trigger' of undefined" problem goes away.
Leave a comment on gregsandell's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic