I need to display a component partial in a modal window. I am able to show a partial from my /themes folder in the popup, but not a partial from my component. This is the code I've tried:
<div id="myModal" class="modal fade">
<div id="modalContent"></div>
</div>
<button type="button" data-toggle="modal" data-target="#myModal"
data-request="onGetContent"
data-request-update="delete: '#modalContent'">Launch modal</button>
But the "delete partial is not found". If I move the delete partial to /themes then it works.. Any ideas??
Last updated