-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
Fix validation #1377
Fix validation #1377
Conversation
@@ -491,6 +491,9 @@ | |||
url: url, | |||
data: $form.serialize(), | |||
type: method, | |||
headers: { | |||
Accept: 'text/html, application/xhtml+xml;' | |||
}, | |||
success: function (resp) { | |||
$loader.hide(); | |||
if (resp.result && resp.result === 'ok') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the accepted type is only HTML, how is this condition supposed to work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@phansys @VincentLanglet the explanation of the fix was in the original issue #1318 (comment) if you have some question just ask
Please review @sonata-project/contributors |
Thanks @VincentLanglet |
Subject
Similar to #1323
I am targeting this branch, because bugfix.
Closes #1376.
Changelog