dhtmlxScheduler - touch extension and window.open

Hi!

code below doesn’t work when the touch extension is allowed

scheduler.attachEvent("onBeforeLightbox", function (event_id) { window.open("http://www.google.com"); });

Any idea?

Thanks, David

onBeforeLightbox event will fire in case of touch extension, the same as for normal case.
But, the code which it triggers will be executed with some delay after actual touch ( used to distinguish simple and long touches ) , and browser may prevent new window opening. ( popup blocker may count such action as unwanted auto popup )