mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Deleted un needed error flash
This commit is contained in:
parent
4b837dbe9d
commit
518eb09110
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
<% if @protocolsio_general_error %>
|
<% if @protocolsio_general_error %>
|
||||||
$('#modal-import-json-protocol-preview').modal('hide');
|
$('#modal-import-json-protocol-preview').modal('hide');
|
||||||
HelperModule.flashAlertMsg(' <%= t('my_modules.protocols.load_from_file_protocol_general_error',
|
alert(' <%= t('my_modules.protocols.load_from_file_protocol_general_error',
|
||||||
max: Constants::NAME_MAX_LENGTH, min: Constants::NAME_MIN_LENGTH) %>', 'danger');
|
max: Constants::NAME_MAX_LENGTH, min: Constants::NAME_MIN_LENGTH) %>');
|
||||||
<% else %>
|
<% else %>
|
||||||
$('#modal-import-json-protocol-preview').modal('hide');
|
$('#modal-import-json-protocol-preview').modal('hide');
|
||||||
$('#protocols_io_form').trigger("reset");
|
$('#protocols_io_form').trigger("reset");
|
||||||
|
|
Loading…
Reference in a new issue