aboutsummaryrefslogtreecommitdiffstats
path: root/files/js
diff options
context:
space:
mode:
Diffstat (limited to 'files/js')
-rw-r--r--files/js/files.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/js/files.js b/files/js/files.js
index 4dca1a110ec..3e1bffccca5 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -346,7 +346,7 @@ $(document).ready(function() {
function scanFiles(force){
force=!!force; //cast to bool
$('#scanning-message').show();
- $.get(OC.filePath('files','ajax','scan.php'), function(response) {
+ $.get(OC.filePath('files','ajax','scan.php'),{force:force}, function(response) {
if(response && response.data && response.data.done){
window.location.reload();
}else{