diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-04-25 22:42:00 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-04-25 22:42:00 +0200 |
commit | 9d91e53027e0a0c64f36a7eb5812dbe70c6dfaa7 (patch) | |
tree | 36c11e348f3fac5f94298c6d2cd51f1aacdf2c47 /files | |
parent | 6895c54a3fe4cbc690ce0e17154bfe2e40295bb0 (diff) | |
download | nextcloud-server-9d91e53027e0a0c64f36a7eb5812dbe70c6dfaa7.tar.gz nextcloud-server-9d91e53027e0a0c64f36a7eb5812dbe70c6dfaa7.zip |
fix problem with filescanning
Diffstat (limited to 'files')
-rw-r--r-- | files/js/files.js | 3 |
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(); |