mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-10 17:03:56 +08:00
Fix bug with protocol preview modal not working in protocol repo
Closes SCI-1323.
This commit is contained in:
parent
a9bd86352d
commit
1712fc0611
2 changed files with 3 additions and 2 deletions
|
@ -209,9 +209,9 @@ function initProtocolPreviewModal() {
|
|||
modalTitle.html(data.title);
|
||||
modalBody.html(data.html);
|
||||
modalFooter.html(data.footer);
|
||||
initHandsOnTable(modalBody);
|
||||
window.initHandsOnTable(modalBody);
|
||||
modal.modal("show");
|
||||
initHandsOnTable(modalBody);
|
||||
window.initHandsOnTable(modalBody);
|
||||
initPreviewModal();
|
||||
},
|
||||
error: function (error) {
|
||||
|
|
|
@ -673,4 +673,5 @@
|
|||
});
|
||||
})
|
||||
|
||||
window.initHandsOnTable = initHandsOnTable;
|
||||
})(window);
|
||||
|
|
Loading…
Reference in a new issue