When adding custom button as shown in the below in the link to the bottom of dhtml x scheduler causes the event to fire to n times (n = the no of times that the light box is shown…). Can any one please help i have added the scheduler as shown in the below code
scheduler.attachEvent("“onLightboxButton”", function(button_id, node, e){if (button_id == ““dhx_custom_btn_info”” ){redirect(); return true;}});
Where redirect() is my custom javascript method… Is there any one to help me with a work around for problem like this…