use force parameter
This commit is contained in:
parent
7543ffa3b1
commit
5a8235eca0
|
@ -346,7 +346,7 @@ $(document).ready(function() {
|
||||||
function scanFiles(force){
|
function scanFiles(force){
|
||||||
force=!!force; //cast to bool
|
force=!!force; //cast to bool
|
||||||
$('#scanning-message').show();
|
$('#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){
|
if(response && response.data && response.data.done){
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue