From 2cd1517dd63c0c2e15c90a7be8d2aaac2d7a99ea Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 May 2016 18:40:01 +0300 Subject: [PATCH] Fix for max file size --- resources/views/expenses/edit.blade.php | 2 +- resources/views/invoices/edit.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/expenses/edit.blade.php b/resources/views/expenses/edit.blade.php index f0b44e700e7c..7fb96d2793f1 100644 --- a/resources/views/expenses/edit.blade.php +++ b/resources/views/expenses/edit.blade.php @@ -247,7 +247,7 @@ @foreach(trans('texts.dropzone') as $key=>$text) "dict{{strval($key)}}":"{{strval($text)}}", @endforeach - maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, + maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, }); if(dropzone instanceof Dropzone){ dropzone.on("addedfile",handleDocumentAdded); diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index 7db80f69089c..ccf2d35f359c 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -996,7 +996,7 @@ @foreach(trans('texts.dropzone') as $key=>$text) "dict{{strval($key)}}":"{{strval($text)}}", @endforeach - maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, + maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, }); if(dropzone instanceof Dropzone){ dropzone.on("addedfile",handleDocumentAdded);