I want to open a page in ctools modal. This works for me.
<a href="/my-page/nojs" class="ctools-use-modal">Click</a>
But now I want to open the same page in ctools modal by clicking the views row. The views is in table format.
<tr class="ctools-use-modal clickable" onclick="window.location='/my-page/nojs'">
It opens the link but not in ctools modal. I am using bootstrap theme.
I noticed that after page load there is another class added to the anchor tag
ctools-use-modal-processed which is not added to the table row.
And we can't use an anchor tag before or after the
tr in html table. We can only use it inside a
How can I achieve this?