Skip to content

Allow other params than 'mode' in example page query string. #3183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 28, 2015

Conversation

htulipe
Copy link
Contributor

@htulipe htulipe commented Jan 27, 2015

Possible fix to #3184
Other fix: #3182
Currently, if other params are present at the beginning of the query string of an example page, the mode switcher will not work.

This situation can occur when a search criteria was entered in the examples
index page. That criteria will be passed along to the example page via a query
param.

Eg: http://openlayers.org/en/v3.1.1/examples/simple.html?q=simpl

Currently, if other params are present at the beginning of the query string,
the mode switcher will not work.

This situation can occur when a search criteria was entered in the examples
index page. That criteria will be passed along to the example page via a query
param.
@elemoine
Copy link
Member

Looks good. Thanks!

elemoine pushed a commit that referenced this pull request Jan 28, 2015
Allow other params than 'mode' in example page query string.
@elemoine elemoine merged commit 5c9e099 into openlayers:master Jan 28, 2015
@htulipe htulipe deleted the switch-mode-fix branch January 28, 2015 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants