mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 20:48:23 +08:00
Add class name to generate docx button [SCI-5722]
This commit is contained in:
parent
8f228d866d
commit
ff5d8571a3
1 changed files with 1 additions and 3 deletions
|
@ -89,7 +89,7 @@
|
|||
${I18n.t('projects.reports.index.docx')}
|
||||
</a>`;
|
||||
}
|
||||
return `<a href="#" class="generate-docx">${I18n.t('projects.reports.index.generate')}</a>`;
|
||||
return `<a href="#" class="generate-docx docx">${I18n.t('projects.reports.index.generate')}</a>`;
|
||||
}
|
||||
|
||||
function renderPdfFile(data) {
|
||||
|
@ -192,7 +192,6 @@
|
|||
|
||||
function checkProcessingStatus(reportId) {
|
||||
let $row = $('#reports-table').find(`tr[data-id="${reportId}"]`);
|
||||
|
||||
if ($row.length === 0) return;
|
||||
|
||||
$.getJSON($row.data('status-path'), (statusData) => {
|
||||
|
@ -275,7 +274,6 @@
|
|||
animateSpinner(null, false);
|
||||
HelperModule.flashAlertMsg(response.message, 'success');
|
||||
checkProcessingStatus(row.data('id'));
|
||||
reloadTable();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue