Set timeout before calling dir function

This commit is contained in:
amcmanu3 2023-10-06 13:33:56 -04:00
parent d04a5dbb82
commit 5525413724
2 changed files with 12 additions and 4 deletions

View File

@ -591,7 +591,9 @@
message: '<p class="text-center mb-0"><i class="fa fa-spin fa-cog"></i> Please wait while we gather your files...</p>',
closeButton: false
});
getDirView();
setTimeout(function(){
getDirView();
}, 2000);
} else {
bootbox.alert("You must input a path before selecting this button");
}
@ -638,7 +640,9 @@
message: '<p class="text-center mb-0"><i class="fa fa-spin fa-cog"></i> Please wait while we gather your files...</p>',
closeButton: false
});
getDirView();
setTimeout(function(){
getDirView();
}, 2000);
} else {
bootbox.alert("You must input a path before selecting this button");
}

View File

@ -827,7 +827,9 @@
closeButton: false
});
console.log("CALLING DIR")
getDirView();
setTimeout(function(){
getDirView();
}, 2000);
} else {
bootbox.alert("You must input a path before selecting this button");
}
@ -844,7 +846,9 @@
closeButton: false
});
console.log("CALLING DIR")
getDirView();
setTimeout(function(){
getDirView();
}, 2000);
});
var upload = false;
var file;