Skip to content

Patch for store_id: MultiValueDictKeyError #1098

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

Conversation

scuml
Copy link
Contributor

@scuml scuml commented Sep 10, 2018

Fixes issue found in #816

Mozilla's documentation shows that strings are meant to be parsed in the constructor and the support of parsing a dictionary is not guaranteed to work across browsers.
https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

This updates toolbar.js to be compliant with the current spec.

@xi
Copy link
Contributor

xi commented Sep 10, 2018

Seems like missed that. Fix looks good to me.

@matthiask matthiask merged commit faaf057 into django-commons:master Sep 10, 2018
@scuml scuml deleted the 816-MultiValueDictKeyError-store_id branch September 10, 2018 20:31
@scuml
Copy link
Contributor Author

scuml commented Sep 10, 2018

Thanks for the quick turnaround @xi & @matthiask

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.

3 participants