From d52d5ff26008185b0185dba1c500bbeee8ffbc55 Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 16 Dec 2018 17:45:26 -0600 Subject: [PATCH] Fix #4018: Drag and drop upload errors Disable upload timeout. This timeout caused uploads to silently fail when the timeout was exceeded (ref: https://gitlab.com/meno/dropzone/issues/23). --- app/views/uploads/new.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/uploads/new.html.erb b/app/views/uploads/new.html.erb index 7bbcc7976..80ff66e13 100644 --- a/app/views/uploads/new.html.erb +++ b/app/views/uploads/new.html.erb @@ -147,6 +147,7 @@ addRemoveLinks: false, maxFiles: 1, maxFilesize: maxFilesize, + timeout: 0, acceptedFiles: "image/jpeg,image/png,image/gif,video/mp4,video/webm,.swf", previewTemplate: '
', init: function() {