mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fix for max file size
This commit is contained in:
parent
ced3daf9c6
commit
2cd1517dd6
@ -247,7 +247,7 @@
|
|||||||
@foreach(trans('texts.dropzone') as $key=>$text)
|
@foreach(trans('texts.dropzone') as $key=>$text)
|
||||||
"dict{{strval($key)}}":"{{strval($text)}}",
|
"dict{{strval($key)}}":"{{strval($text)}}",
|
||||||
@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);
|
||||||
|
@ -996,7 +996,7 @@
|
|||||||
@foreach(trans('texts.dropzone') as $key=>$text)
|
@foreach(trans('texts.dropzone') as $key=>$text)
|
||||||
"dict{{strval($key)}}":"{{strval($text)}}",
|
"dict{{strval($key)}}":"{{strval($text)}}",
|
||||||
@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