Bug 30903: Fix UI glitch on the quotes upload view

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f36dbf09f6)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b3a277daec)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
Jonathan Druart 2022-06-07 15:57:35 +02:00 committed by Arthur Suzuki
parent 749cfc2722
commit 168df496e1
1 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,6 @@
<div class="import_errors dialog alert" style="display: none;"></div>
</div>
<div id="csv_error" class="alert" style="visibility: hidden;">Something went wrong, check your CSV file.</div>
<div id="instructions">
<fieldset id="file_uploader_help" class="rows">
<legend>Instructions</legend>
@ -240,7 +239,7 @@
if ( arrData[ arrData.length - 1 ] ) {
arrData[ arrData.length - 1 ].push( strMatchedValue );
} else {
$('#csv_error').css( 'visibility' , 'visible' );
$("#messages .import_error").text(_("Something went wrong, check your CSV file."));
}
}