mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-14 10:53:01 +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);
|
modalTitle.html(data.title);
|
||||||
modalBody.html(data.html);
|
modalBody.html(data.html);
|
||||||
modalFooter.html(data.footer);
|
modalFooter.html(data.footer);
|
||||||
initHandsOnTable(modalBody);
|
window.initHandsOnTable(modalBody);
|
||||||
modal.modal("show");
|
modal.modal("show");
|
||||||
initHandsOnTable(modalBody);
|
window.initHandsOnTable(modalBody);
|
||||||
initPreviewModal();
|
initPreviewModal();
|
||||||
},
|
},
|
||||||
error: function (error) {
|
error: function (error) {
|
||||||
|
|
|
@ -673,4 +673,5 @@
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
window.initHandsOnTable = initHandsOnTable;
|
||||||
})(window);
|
})(window);
|
||||||
|
|
Loading…
Reference in a new issue