You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
I've got a very strange situation with modal, I debugged but couldn't understand the cause of this.
I'm using smartadmin to build an admin page. (Demo : http://192.241.236.31/themes/preview/smartadmin/1.8.x/ajax/index.html#ajax/dashboard.html ). In every page when I click the navigation link, the content (id content is reloaded with new content). I setup the emodal js successfully. The first time I access that page, emodal works ok, then I click another nav link then go back to emodal page, the modal only show the overlay.
One thing that when I debuged is that $modal's outerHtml changed when i go back to emodal page. The first time modal display & close, the $modal's Html contains divs like modal-content, modal-header ... , , .., At the time I go back to emodal page, the $modal's html has only empty .modal div ( ex : "
<style>.modal-xl{width:96%;}</style>[No other content here]</div")
I can't see any code that remove the modal-content, modal-header div from $modal variable. So that's really strange to me.
Please help me with this situation.
Thanks,
Dong
The text was updated successfully, but these errors were encountered:
Hi there,
I've got a very strange situation with modal, I debugged but couldn't understand the cause of this.
I'm using smartadmin to build an admin page. (Demo : http://192.241.236.31/themes/preview/smartadmin/1.8.x/ajax/index.html#ajax/dashboard.html ). In every page when I click the navigation link, the content (id content is reloaded with new content). I setup the emodal js successfully. The first time I access that page, emodal works ok, then I click another nav link then go back to emodal page, the modal only show the overlay.
One thing that when I debuged is that $modal's outerHtml changed when i go back to emodal page. The first time modal display & close, the $modal's Html contains divs like modal-content, modal-header ... , , .., At the time I go back to emodal page, the $modal's html has only empty .modal div ( ex : "
I can't see any code that remove the modal-content, modal-header div from $modal variable. So that's really strange to me.
Please help me with this situation.
Thanks,
Dong
The text was updated successfully, but these errors were encountered: