fires immediately before the user opens the lightbox (edit form)
id | string | the event's id |
boolean | defines whether the default action of the event will be triggered (true) or canceled (false) |
scheduler.attachEvent("onBeforeLightbox", function (id){
//any custom logic here
return true;
});
The event is blockable. Return false to cancel the default processing (opening of the lightbox).
Back to top