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

check the domCache option before rebinding the page remove on select menu#2222

Closed
SamuelKC wants to merge 1 commit intojquery-archive:masterfrom
SamuelKC:selectDomCacheFix
Closed

check the domCache option before rebinding the page remove on select menu#2222
SamuelKC wants to merge 1 commit intojquery-archive:masterfrom
SamuelKC:selectDomCacheFix

Conversation

@SamuelKC
Copy link
Contributor

@SamuelKC SamuelKC commented Aug 5, 2011

When closing a fullpage select menu we need to check the domCache option before rebinding the page remove handler. If domCache is true the page remove wasn't bound in the first place, so binding it on menu close will cause the removing of a page that mustn't be removed.

@johnbender
Copy link
Contributor

Samuel,

Any chance you'd be willing to migrate this change into the new jquery.mobile.forms.select.custom.js and add a test into tests/unit/select_core.js? Either way, thanks for submitting the solution.

@SamuelKC
Copy link
Contributor Author

Ok, I opened a new pull request there #2289

@SamuelKC SamuelKC closed this Aug 16, 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