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

Fix issue #1692#1750

Closed
pauln wants to merge 1 commit intojquery-archive:masterfrom
pauln:issue-1692
Closed

Fix issue #1692#1750
pauln wants to merge 1 commit intojquery-archive:masterfrom
pauln:issue-1692

Conversation

@pauln
Copy link
Contributor

@pauln pauln commented Jun 1, 2011

Call close() function when clicking close button on dialog for selects with menuType="page" rather than falling back to default click handler's window.history.back() call.

…s with menuType="page" rather than falling back to default click handler's window.history.back() call. This fixes issue jquery-archive#1692
@scottjehl
Copy link

Thanks! Does this work for clicking either the back button or the custom close button? It'll need to support both in the end.

@pauln
Copy link
Contributor Author

pauln commented Jun 12, 2011

It only works when using the custom close button at present - I haven't yet familiarised myself with enough of the jQuery Mobile code to have worked out the best way to hook into the chain of events triggered from the browser back button to implement this there.

@scottjehl scottjehl closed this in ada4673 Jul 11, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants