Multiple files not uploaded

Hi,

tried to use vault and noticed that it only works if files are uploaded 1 by 1.

If I add 2 files and press “Upload” then the 1st file is uploaded but the second is not. It seems that it gets in some kind of endless loop and nothing happens.

I use the “php_simple” handlers.

<body>
        
        <div id="status">Status Report Here</div>
        <div id="uploader"></div>
        <script>
            vault=new dhtmlXVaultObject();
            vault.setImagePath("./codebase/dhtmlxvault_std_1.6/codebase/imgs/");
            vault.setServerHandlers("./codebase/dhtmlxvault_std_1.6/codebase/UploadHandler.php",
                                    "./codebase/dhtmlxvault_std_1.6/codebase/GetInfoHandler.php",
                                    "./codebase/dhtmlxvault_std_1.6/codebase/GetIdHandler.php");
            
            vault.onUploadComplete = function(files) {
                var s="";
                for (var i=0; i<files.length; i++) {
                    var file = files[i];
                    s += ("id:" + file.id + ",name:" + file.name + ",uploaded:" + file.uploaded + ",error:" + file.error)+"\n";
                }
                document.getElementById("status").innerHTML=s;
            };
            
            
            vault.create("uploader");


        </script>
    </body>

Exactly the same problem here… Only occurs in Chrome though…

Please try to use the new version of dhtmlxVault. You can download the latest update here:
dhtmlx.com/docs/products/dht … ndex.shtml