Commit 4d5468b0 authored by Bart Deslagmulder's avatar Bart Deslagmulder

Fix early redirect when uploading multiple files

See AsgardCms/Media pull-request #14 for more info.
parent 4e3e92b8
...@@ -6,7 +6,7 @@ $( document ).ready(function() { ...@@ -6,7 +6,7 @@ $( document ).ready(function() {
maxFilesize: maxFilesize, maxFilesize: maxFilesize,
acceptedFiles : acceptedFiles acceptedFiles : acceptedFiles
}); });
myDropzone.on("success", function(file, http) { myDropzone.on("queuecomplete", function(file, http) {
window.setTimeout(function(){ window.setTimeout(function(){
location.reload(); location.reload();
}, 1000); }, 1000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment