disabling export button when exporting
This commit is contained in:
@@ -704,6 +704,7 @@ function validateWorkflowItem(id) {
|
||||
export_progress = success.progress;
|
||||
$('#progress-bar-wrapper').show();
|
||||
setTimeout(updateExportProgress, 200);
|
||||
$('#export-button').prop("disabled", true);
|
||||
} else {
|
||||
console.log("no uid returned");
|
||||
}
|
||||
@@ -756,6 +757,7 @@ function validateWorkflowItem(id) {
|
||||
$('#progress-bar').css("width", "0%");
|
||||
$('#progress-bar').text("Bitte warten... 0%");
|
||||
$('#progress-bar').addClass("bg-primary").removeClass("bg-success");
|
||||
$('#export-button').prop("disabled", false);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user