[resolved] C57 tabs (ccm_activateTabBar)
Permalink
I'm opening a view in a dialog with the following code:
This works fine, because the helper runs a JS function (ccm_activateTabBar) to make the tabs works. But, when I close the dialog and open it again, all the ccm-tab-content divs are invisible and they won't become visible when I click a tab header.
What is going wrong? Any ideas?
This works fine, because the helper runs a JS function (ccm_activateTabBar) to make the tabs works. But, when I close the dialog and open it again, all the ccm-tab-content divs are invisible and they won't become visible when I click a tab header.
What is going wrong? Any ideas?
which causes that the dialog's html isn't removed from the DOM after the dialog has been closed. And this resulted in multiple div's with the same ID.
It's better to use the "href" property in the dialog function. However, it doesn't support POST requests.