We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug
When saving function via AJAX using this example of the docs and error is thrown, the survey status is marked as saved
editor.saveSurveyFunc = function (saveNo, callback) { $.ajax({ url: "UrlToYourWebService", type: "POST", data: { surveyId: yourEditUniqueSurveyI, surveyText : editor.text }, success: function (data) { callback(saveNo, data.isSuccess); }, error: function (xhr, ajaxOptions, thrownError) { callback(saveNo, false); alert(thrownError); } }); }
The status next to the "Save survey" button should be "Error" instead of "Saved".
I put a breakpoint in this line of the code.
The text was updated successfully, but these errors were encountered:
ec435ad
Thank you for the report. I've fixed the issue. Fix will be available in the nearest update.
Sorry, something went wrong.
Fixed surveyjs#375 - Wrong status when save fails
5318a1e
No branches or pull requests
Are you requesting a feature, reporting a bug or ask a question?
Bug
What is the current behavior?
When saving function via AJAX using this example of the docs and error is thrown, the survey status is marked as saved
What is the expected behavior?
The status next to the "Save survey" button should be "Error" instead of "Saved".
How would you reproduce the current behavior (if this is a bug)?
I put a breakpoint in this line of the code.
Specify your
The text was updated successfully, but these errors were encountered: