Initialize daypilot in a separate window (window popup, window.open)
Asked by Viktor Eriksson
12 years ago.
12 years ago.
Maybe there are more than one problem but i'm stuck at pretty much the first row.
I am trying to allow my users to make the scheduler/calendar "fullscreen" by snapping it out of the main window into a child popup window. Here I try to reinitialize the scheduler/calendar by running init again on it. Problem is though that first row in init is this:
this.nav.top = document.getElementById(id);
Which will refer to the original document belonging to the original window.
Would be nice to pass a dom object intead of an id to the scheduler/calendar.
DayPilot