Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Panel depends on resetActivePageHeight #5997

Closed
jzaefferer opened this issue May 12, 2013 · 3 comments
Closed

Panel depends on resetActivePageHeight #5997

jzaefferer opened this issue May 12, 2013 · 3 comments

Comments

@jzaefferer
Copy link
Contributor

Using panel from a custom download (with just listview) I'm getting an error Uncaught TypeError: Object #<Object> has no method 'resetActivePageHeight'. Panel is trying to call $.mobile.resetActivePageHeight(); without checking if that actually exists. I don't know which component is supposed to provide that method, but panel doesn't have a formal dependency on that.

@jaspermdegroot
Copy link
Contributor

We have to move $.mobile.resetActivePageHeight(); from navigation to core.

@jzaefferer
Copy link
Contributor Author

Submitted a PR for this: #6046

arschmitz added a commit that referenced this issue May 29, 2013
…av-core-5997

Move $.mobile.resetActivePageHeight from navigation to core. Fixes #5997...
@arschmitz
Copy link
Contributor

@jzaefferer Thank you for the pr you may also be interested in the ext-panels branch. This branch has panels working outside of pages. This is currently incomplete but working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants