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

razor pageremote type=post #80

Closed
Wendy-Brooks opened this issue Nov 1, 2023 · 1 comment · Fixed by #93
Closed

razor pageremote type=post #80

Wendy-Brooks opened this issue Nov 1, 2023 · 1 comment · Fixed by #93

Comments

@Wendy-Brooks
Copy link

In this.remote = function:

return new Promise(function (ok, reject)
{
var request = new XMLHttpRequest();
if (params.type === 'post') | not 'Post'. better yet: params.type.tolowercase

@dahlbyk
Copy link
Collaborator

dahlbyk commented Nov 1, 2023

Here:

return new Promise((ok, reject) => {
let request = new XMLHttpRequest();
if (params.type === 'Post') {

Agree that a case-insensitive match would be preferred.

haacked added a commit that referenced this issue Jan 2, 2024
haacked added a commit that referenced this issue Jan 5, 2024
This issue was closed.
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 a pull request may close this issue.

2 participants