Add feedback with disabled button when loading legacy ticket

This commit is contained in:
yflory 2024-03-27 14:09:40 +01:00
parent 8ba4fff169
commit c817188365
1 changed files with 2 additions and 0 deletions

View File

@ -868,7 +868,9 @@ Attachments:${JSON.stringify(msg.attachments, 0, 2)}`;
let run = () => {
let $div = $(content);
$div.empty();
$(start).prop('disabled', 'disabled');
APP.module.execCommand('GET_LEGACY', {}, contentByHash => {
$button.prop('disabled', false);
// group by ticket id
let sorted = sortLegacyTickets(contentByHash);
sorted.forEach(ticket => {