Dropzone response

For a project I’m working on I use Dropzone for uploading multiple images for a gallery. In the page I have 2 divs. 1 called response and 1 called form content

In the successmultiple function I have the folowing:

    this.on("successmultiple", function(files, response) {
        $("#form_content").fadeOut(500);
        $("#response").html($(files, response).fadeIn(1000));
    });

and in my php controller I have:

 $heading              =  'Album was successfully added';
 $album_success   = new View('admin/album_success.php', compact('heading','gallery_id','gallery_title'));
 echo $album_success->render();

My problem is the following. div#form_content is indeed fading out. But div#response is not fading in or the content from album_success.php is not loaded into it. Does anyone see what I am doing wrong?

Thank you in advance

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.