Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-04-26 00:42:00 +0400
committerRobin Appelman <icewind@owncloud.com>2012-04-26 00:42:00 +0400
commit9d91e53027e0a0c64f36a7eb5812dbe70c6dfaa7 (patch)
tree36c11e348f3fac5f94298c6d2cd51f1aacdf2c47 /files
parent6895c54a3fe4cbc690ce0e17154bfe2e40295bb0 (diff)
fix problem with filescanning
Diffstat (limited to 'files')
-rw-r--r--files/js/files.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 73a16100a69..e6df7e6bfad 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -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();