fix double translation of error message
This commit is contained in:
parent
a6933efce3
commit
ae97fad632
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ $(document).ready(function() {
|
|||
} else if (result[0].status !== 'success') {
|
||||
//delete data.jqXHR;
|
||||
data.textStatus = 'servererror';
|
||||
data.errorThrown = t('files', result.data.message);
|
||||
data.errorThrown = result.data.message; // error message has been translated on server
|
||||
var fu = $(this).data('blueimp-fileupload') || $(this).data('fileupload');
|
||||
fu._trigger('fail', e, data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue