fix problem with filescanning

This commit is contained in:
Robin Appelman 2012-04-25 22:42:00 +02:00
parent 6895c54a3f
commit 9d91e53027
1 changed files with 3 additions and 0 deletions

View File

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