mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 14:46:42 +08:00
Remove flash message, keep only form errors
SCI-5406
This commit is contained in:
parent
ac26a40574
commit
4e0d4f4280
1 changed files with 0 additions and 1 deletions
|
@ -356,7 +356,6 @@
|
|||
HelperModule.flashAlertMsg(data.message, 'success');
|
||||
refreshCurrentView();
|
||||
}).on('ajax:error', function(ev, data) {
|
||||
HelperModule.flashAlertMsg(data.responseJSON.message, 'danger');
|
||||
if ($(this).hasClass('edit_project')) {
|
||||
$(this).renderFormErrors('project', data.responseJSON.errors);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue