Is there a way to add a css class name to the details form

I’m using the recurring events extensions and right now, the stock details form has dhx_cal_light and dhx_cal_light_rec.

What I’d like to do is to add a class name so that I can change the color of the detail form depending on if they are editing the series or just an instance of the series.

It would be nice if there was a hook, similar to scheduler.templates.event_class, that some logic could be processed to modify specific aspects of the details form.

Any direction would be awesome.

Thanks

Found a couple of events that helped me accomplish what I needed. Here it is if anyone’s interested:

[code] // Add the recurring class to the details form if editing the series
scheduler.attachEvent(“onLightbox”, function (id) {
ev = scheduler.getEvent(id)
if ((ev.event_pid == 0 && ev.rec_type != ‘’)) {
$j(".dhx_cal_light.dhx_cal_light_rec").first().addClass(‘recurring’);
};
});

// Remove the recurring class from the details form
scheduler.attachEvent(“onAfterLightbox”, function() {
$j(".dhx_cal_light.dhx_cal_light_rec").first().removeClass(‘recurring’);
})
[/code]