forked from CGM_Public/pretix_original
Progress bar instead of acks_late for event cancellation
This commit is contained in:
@@ -31,7 +31,7 @@ function async_task_check_callback(data, jqXHR, status) {
|
||||
}
|
||||
location.href = data.redirect;
|
||||
return;
|
||||
} else if (!!data.percentage) {
|
||||
} else if (typeof data.percentage === "number") {
|
||||
$("#loadingmodal .progress").show();
|
||||
$("#loadingmodal .progress .progress-bar").css("width", data.percentage + "%");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user