I am using router for popups I am having 2 issues:
-
My toolbar(located in index.html) is not viewable in popup so I’ve added it again in my content: ‘’ , not sure if this is correct, it works but would prefer not to have duplicate content to maintain.
-
I cannot open the modal using: app.popup.open(’#popup-logged-success’, true); need to open in programatically as it depends on the success of another function.
{ path: '/popup-logged-success/', popup: { content: ` <div id="popup-logged-success" class="success-popup popup popup-tablet-fullscreen"> <div class="view"> <div class="page"> <div class="full-page"> <a href="#" class="link popup-close back-arrow"></a> <div class="success-msg"> <p> Thanks *******<br> You can view the progress<br> of your call through<br> the Activity Tab </p> </div> </div> </div> <div class="toolbar toolbar-bottom main-toolbar no-shadow"> <div class="toolbar-inner"> <a href="/log-call/" class="link log-call">Log Call</a> <a href="/activity-overview/" class="link activity">Activity</a> <a href="/contact/" class="link msgs">Contact</a> </div> </div> </div> </div>` } },