Scheduler -scheduler.templates.event_bar_text and showLight

Hi,



I have this code in the scheduler:



scheduler.templates.event_bar_text=function(start,end,event){

var tip=scheduler.templates.hour_scale(start)+" “+event.text;

return “”+event.text+”";

}



The problem is that the lightBox is not called anymore. I tried adding a onclick=“scheduler.showLightBox()” but is not working.



Thanks


Hello,


to show lightbox you should pass the event id as a parameter:


scheduler.showLightbox(eventId);

Oncoming dhtmlxScheduler 2.1 will resolve issue with incorrect reactions when custom classes are used in event’s text. It will be released in few days.