Fix for lazy load change
This commit is contained in:
parent
c8794a401e
commit
fc981c0604
2 changed files with 3 additions and 3 deletions
|
|
@ -232,7 +232,7 @@
|
|||
acceptedFiles:{!! json_encode(implode(',',\App\Models\Document::$allowedMimes)) !!},
|
||||
addRemoveLinks:true,
|
||||
@foreach(trans('texts.dropzone') as $key=>$text)
|
||||
"dict{{strval($key)}}":"{{strval($text)}}",
|
||||
"dict{{strval($key)}}":"{{strval($text)}}",
|
||||
@endforeach
|
||||
maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
||||
});
|
||||
|
|
|
|||
|
|
@ -992,8 +992,8 @@
|
|||
},
|
||||
acceptedFiles:{!! json_encode(implode(',',\App\Models\Document::$allowedMimes)) !!},
|
||||
addRemoveLinks:true,
|
||||
@foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key)
|
||||
"dict{{Utils::toClassCase($key)}}":"{{trans('texts.dropzone_'.$key)}}",
|
||||
@foreach(trans('texts.dropzone') as $key=>$text)
|
||||
"dict{{strval($key)}}":"{{strval($text)}}",
|
||||
@endforeach
|
||||
maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue