use force parameter

This commit is contained in:
Robin Appelman 2011-11-10 16:54:45 +01:00
parent 7543ffa3b1
commit 5a8235eca0
1 changed files with 1 additions and 1 deletions

View File

@ -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{