Skip to content
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

ui: Use options.method for keying not options.type #7308

Merged
merged 1 commit into from
Feb 18, 2020

Conversation

johncowen
Copy link
Contributor

Whilst looking into potentially switching out our jQuery based ajax request for fetch (unfortunately we found here we use readyState for a tiny feature, which fetch doesn't have so we can't do this without doing something more complicated than we would like), we found a tiny typo when generating IDs for requests.

Basically options.type is always undefined, we are using this to generate unique IDs for requests, so the intention would have been options.method.

@johncowen johncowen added the theme/ui Anything related to the UI label Feb 17, 2020
@johncowen johncowen requested a review from a team February 17, 2020 10:33
@johncowen johncowen added this to the 1.7.1 milestone Feb 17, 2020
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johncowen johncowen merged commit b83c190 into master Feb 18, 2020
@johncowen johncowen deleted the ui/bugfix/http-type-method branch February 18, 2020 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants