mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 20:48:00 +00:00
disable upload timeout so big uploads wont fail
This commit is contained in:
@@ -2,8 +2,10 @@ Dropzone.autoDiscover = false;
|
||||
|
||||
$(function() {
|
||||
var myDropzone = new Dropzone("#dropzone");
|
||||
console.log(myDropzone.options);
|
||||
if(maxUploadFileSize !== undefined)
|
||||
myDropzone.options.maxFilesize = maxUploadFileSize;
|
||||
myDropzone.options.timeout = 0,
|
||||
myDropzone.on("success", function(file,response) {
|
||||
console.log("raw response: "+response);
|
||||
if(response==null || response =="null")
|
||||
|
||||
Reference in New Issue
Block a user