mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
9b24bf9504
The JavaScript responsible for loading the list was attached to a Partial that by itself was loaded using and AJAX request. Therefore, The JavaScript was not being executed (no page reload). It was thus moved to the parent partial (loaded on page reload) and called when the required HTML is appended to the DOM.
7 lines
358 B
Text
7 lines
358 B
Text
<div class="modal" id="protocolsioModal" data-url="<%= protocolsio_protocols_path %>" tabindex="-1" role="dialog" aria-labelledby="protocolsio-modal-label">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content"></div>
|
|
</div>
|
|
</div>
|
|
<%= javascript_include_tag "protocols/steps" %>
|
|
<%= javascript_include_tag "protocols/protocolsio" %>
|