Skip to content

Commit

Permalink
#2473 [Medias] fix: error return on submitting media
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo David committed Oct 5, 2022
1 parent 2a2d006 commit c57fcfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/digiriskdolibarr.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@
let response = $(resp).find('.error-medias').val()
let decoded_response = JSON.parse(response)
$('#myBar').width('100%')
$('#myBar').css('background-color','red')
$('#myBar').css('background-color','#e05353')
$('.wpeo-loader').removeClass('wpeo-loader');

let textToShow = '';
Expand Down
2 changes: 1 addition & 1 deletion langs/fr_FR/digiriskdolibarr.lang
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ MediaMaxWidthLarge = Largeur du média large
MediaMaxWidthLargeDescription = Largeur du média (dimension large) avec pour ratio 16:9
MediaMaxHeightLarge = Hauteur du média large
MediaMaxHeightLargeDescription = Hauteur du média (dimension large) avec pour ratio 16:9

ErrorFileSizeTooLarge = Le fichier est trop volumineux


#
Expand Down

0 comments on commit c57fcfb

Please sign in to comment.