mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-19 22:11:45 +08:00
Merge pull request #173 from okriuchykhin/ok_SCI-484
Fix issue with duplicate error messages in experiments modal [SCI-484]
This commit is contained in:
commit
c83342d9f0
1 changed files with 2 additions and 2 deletions
|
@ -66,12 +66,12 @@
|
|||
window.location.replace(data.path);
|
||||
})
|
||||
.on('ajax:error', function(e, error) {
|
||||
form.clearFormErrors();
|
||||
var msg = JSON.parse(error.responseText);
|
||||
renderFormError(e,
|
||||
form.find("#experiment_project_id"),
|
||||
msg.message.toString());
|
||||
})
|
||||
.clearFormErrors();
|
||||
});
|
||||
}
|
||||
}
|
||||
// Reload after successfully updated experiment
|
||||
|
|
Loading…
Reference in a new issue