]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix problem with filescanning
authorRobin Appelman <icewind@owncloud.com>
Wed, 25 Apr 2012 20:42:00 +0000 (22:42 +0200)
committerRobin Appelman <icewind@owncloud.com>
Wed, 25 Apr 2012 20:42:00 +0000 (22:42 +0200)
files/js/files.js

index 73a16100a69cc43a66997e8f406f055d8f3a1612..e6df7e6bfad2830bc86cc266087c2f337446043c 100644 (file)
@@ -371,6 +371,9 @@ $(document).ready(function() {
 });
 
 function scanFiles(force,dir){
+       if(!dir){
+               dir='';
+       }
        force=!!force; //cast to bool
        scanFiles.scanning=true;
        $('#scanning-message').show();