aboutsummaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-11-10 16:54:45 +0100
committerRobin Appelman <icewind1991@gmail.com>2011-11-10 16:54:45 +0100
commit5a8235eca0c282d79d48f65a5419c6c855ecdc36 (patch)
tree1e613609abc38b98c4e674dbecba0f6d1397a2e7 /files
parent7543ffa3b19afc2786e87bc176096172fe5825d9 (diff)
downloadnextcloud-server-5a8235eca0c282d79d48f65a5419c6c855ecdc36.tar.gz
nextcloud-server-5a8235eca0c282d79d48f65a5419c6c855ecdc36.zip
use force parameter
Diffstat (limited to 'files')
-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{