From da860c0d07c09888bd4426141f3f53e1f4ed70e8 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 May 2016 18:43:57 +0300 Subject: [PATCH] Fix for when document is too large --- resources/views/expenses/edit.blade.php | 8 ++++++-- resources/views/invoices/edit.blade.php | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/resources/views/expenses/edit.blade.php b/resources/views/expenses/edit.blade.php index 7fb96d2793..5c0f05b8ab 100644 --- a/resources/views/expenses/edit.blade.php +++ b/resources/views/expenses/edit.blade.php @@ -254,6 +254,7 @@ dropzone.on("removedfile",handleDocumentRemoved); dropzone.on("success",handleDocumentUploaded); dropzone.on("canceled",handleDocumentCanceled); + dropzone.on("error",handleDocumentError); for (var i=0; i