I am using bootstap to display modal. It works fine. Inside that modal, I have some <a>
tags. It displays the link on the left bottom of the screen when hover, but when I click, it just dismiss the modal and not redirect to the link I want.
This is a piece of my code in Smarty (inside modal-body)
<li>
<a href="{BASE_URL}/my/coverletter?code={$template.template_code}&color=clr1"> <span data-theme-cl="1" class="clr-1 theme-cl-1"></span> </a>
</li>
This is my modal
<div class="modal fade choose-letter-modal" id="choose-letter-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="choose-letter-modal">{_t('chose_letter_template')}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
// some code write here
</div>
</div>
</div>
</div>
Thank you very much for your help!