mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
fixing gui-upload filesize bug
This commit is contained in:
@@ -2,6 +2,8 @@ Dropzone.autoDiscover = false;
|
||||
|
||||
$(function() {
|
||||
var myDropzone = new Dropzone("#dropzone");
|
||||
if(maxUploadFileSize !== undefined)
|
||||
myDropzone.options.maxFilesize = maxUploadFileSize;
|
||||
myDropzone.on("success", function(file,response) {
|
||||
console.log("raw response: "+response);
|
||||
if(response==null || response =="null")
|
||||
|
||||
Reference in New Issue
Block a user