Hash change events not working in jquerymobile after PhotoSwipe.detatch #351

Merged
merged 1 commit into from Oct 1, 2012

Conversation

Projects
None yet
3 participants
Contributor

poursal commented Jul 17, 2012

If windowHashChangeHandler is null and we perform Util.Events.remove() then we remove all event handlers from the 'hashchange' event. This means that jquerymobile will not be able to handle history.back() and you will remain in the same page.

@poursal poursal If windowHashChangeHandler and we perform Util.Events.remove() then w…
…e remove all event handlers from the 'hashchange' event. This means that jquerymobile will not be able to handle history.back() and you will remain in the same page.
5eadd45

@mrniggles214
@poursal

You don't know how much you saved my day!

@billinghamj billinghamj added a commit that referenced this pull request Oct 1, 2012

@billinghamj billinghamj Merge pull request #351 from poursal/master
Hash change events not working in jquerymobile after PhotoSwipe.detatch
237f649

@billinghamj billinghamj merged commit 237f649 into dimsemenov:master Oct 1, 2012

@thorstein5 thorstein5 added a commit to thorstein5/PhotoSwipe that referenced this pull request Oct 7, 2012

@thorstein5 thorstein5 Fixes build errors and removes thumbs.db files
Fixes errors reported by JSLint during build on Windows introduced in
pull request #351 and #397, and removes unnecessary Windows specific
Thumbs.db files introduced in pull request #276.
ffdf883

@thorstein5 thorstein5 added a commit to thorstein5/PhotoSwipe that referenced this pull request Oct 7, 2012

@thorstein5 thorstein5 Fixes build errors and removes thumbs.db files
Fixes 4 "errors" introduced in pull request #351 and #397 reported by
JSLint  - errors which causes the build script to fail, and cleans up
unnecessary Windows specific Thumbs.db files first introduced in pull
request #345.
dddba62

@thorstein5 thorstein5 added a commit to thorstein5/PhotoSwipe that referenced this pull request Oct 8, 2012

@thorstein5 thorstein5 Fixes build errors and removes thumbs.db files
Fixes 4 "errors" introduced in pull request #351 and #397 reported by
JSLint  - errors which causes the build script to fail, and cleans up
unnecessary Windows specific Thumbs.db files first introduced in pull
request #345.
2a112d8

@thorstein5 thorstein5 added a commit to thorstein5/PhotoSwipe that referenced this pull request Oct 11, 2012

@thorstein5 thorstein5 Fixes build errors and removes thumbs.db files
Fixes 4 "errors" introduced in pull request #351 and #397 reported by
JSLint  - errors which causes the build script to fail, and cleans up
unnecessary Windows specific Thumbs.db files first introduced in pull
request #345.
d0d276f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment