From: Robin Appelman Date: Wed, 25 Apr 2012 20:42:00 +0000 (+0200) Subject: fix problem with filescanning X-Git-Tag: v4.0.0beta~187 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9d91e53027e0a0c64f36a7eb5812dbe70c6dfaa7;p=nextcloud-server.git fix problem with filescanning --- 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();