]> source.dussan.org Git - nextcloud-server.git/commitdiff
Trigger the last action before continuing with a file upload, fixes issue #918
authorMichael Gapczynski <mtgap@owncloud.com>
Sun, 16 Dec 2012 21:19:51 +0000 (16:19 -0500)
committerMichael Gapczynski <mtgap@owncloud.com>
Sun, 16 Dec 2012 21:19:51 +0000 (16:19 -0500)
apps/files/js/files.js

index 33c775fc8ec44bfcce340688f30748e41ececeac..2719e9ade5c2e2e4897d090bc04de109cc8fa505 100644 (file)
@@ -203,6 +203,9 @@ $(document).ready(function() {
                                var files = data.files;
                                var totalSize=0;
                                if(files){
+                                       if (FileList.lastAction) {
+                                               FileList.lastAction();
+                                       }
                                        for(var i=0;i<files.length;i++){
                                                if(files[i].size ==0 && files[i].type== '')
                                                {