I post the form that go to white page:
posting.php?mode=post&f=6
I post here the question here hoping that i do not desturb, and you move it to scheduler forum.
My question is:
Hi i’ve a custom lightbox, but sometimes double clicking on the bar on the calendar doesn’t show it.
No js errors in the page.
Here the code fragments:
…
…
scheduler.config.lightbox.sections = [
{ name:“text”, height:60, map_to:“text”, type:“textarea”, focus:true},
{ name:“template”, height: 45, type:“template”, map_to:“my_template”},
{ name:“time”, height:50, type:“time”, map_to:“auto”}
];
…
…
scheduler.attachEvent(“onBeforeLightbox”, function(id, e) {
var ev = scheduler.getEvent(id);
if (ev.calendarinfofield != undefined && ev.calendarinfofield != ‘’) {
ev.my_template = "Other Information: " + ev.calendarinfofield;
}
if (ev.linkfield != undefined && ev.linkfield != ‘’) {
if (ev.my_template!=’’) {
ev.my_template = ev.my_template + “
”;
}
var _link = ev.linkfield.replace(/AMPAMP/g,’&’);
ev.my_template = ev.my_template + "Detail: ";
ev.my_template = ev.my_template + “”
}
return true;
});
thanks!