mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Set timeout before calling dir function
This commit is contained in:
parent
d04a5dbb82
commit
5525413724
@ -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");
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user