mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for max file size
This commit is contained in:
parent
38cd6de8da
commit
d174a2555b
@ -247,7 +247,7 @@
|
|||||||
@foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key)
|
@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{{strval($key)}}":"{{trans('texts.dropzone_'.Utils::toClassCase($key))}}",
|
"dict{{strval($key)}}":"{{trans('texts.dropzone_'.Utils::toClassCase($key))}}",
|
||||||
@endforeach
|
@endforeach
|
||||||
maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
||||||
});
|
});
|
||||||
if(dropzone instanceof Dropzone){
|
if(dropzone instanceof Dropzone){
|
||||||
dropzone.on("addedfile",handleDocumentAdded);
|
dropzone.on("addedfile",handleDocumentAdded);
|
||||||
|
@ -1024,7 +1024,7 @@
|
|||||||
@foreach(['default_message', 'fallback_message', 'fallback_text', 'file_too_big', 'invalid_file_type', 'response_error', 'cancel_upload', 'cancel_upload_confirmation', 'remove_file'] as $key)
|
@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)}}",
|
"dict{{Utils::toClassCase($key)}}":"{{trans('texts.dropzone_'.$key)}}",
|
||||||
@endforeach
|
@endforeach
|
||||||
maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}},
|
||||||
});
|
});
|
||||||
if(dropzone instanceof Dropzone){
|
if(dropzone instanceof Dropzone){
|
||||||
dropzone.on("addedfile",handleDocumentAdded);
|
dropzone.on("addedfile",handleDocumentAdded);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user