Improvements #828

This commit is contained in:
Ozzieisaacs
2019-02-27 19:30:13 +01:00
parent fad62a0909
commit 361a1243d7
5 changed files with 63 additions and 66 deletions
+2 -2
View File
@@ -132,8 +132,8 @@
// Replace the contents of the form, with the returned html
if (xhr.status === 422) {
var newHtml = $.parseHTML(xhr.responseText);
this.replace_form(newHtml);
this.$modal.modal("hide");
this.$modalBar.text(newHtml[0].data);
//this.$modal.modal("hide");
}
// Write the error response to the document.
else{