Exception when deleting an event.

Hi,

I am having some trouble with deleting a created event. When I hit the delete button I get this exception.

  Uncaught TypeError: Object function (a){for(var b in a)dhtmlx[b]=a[b];return dhtmlx} has no method 'confirm' 

scheduler._dhtmlx_confirm dhtmlxscheduler.js:88
scheduler._click.buttons.delete dhtmlxscheduler.js:87
scheduler._click.dhx_cal_data dhtmlxscheduler.js:86

Does anyone know why that would be? :unamused:

Hello,

Can you reproduce this problem in one of our samples?

Best regards,
Ilya

No I have tried the local samples and I am not having the same problem.
Any advice?

Ilya,

It seems to happen when I click the cancel or delete button in the lightbox only.

Hello,

If it works in our samples when be sure to provide link to your page or at least code used.

Kind regards,
Ilya

I have the same problem.
all the events work properly. but delete button in day/week/light box timeline view gives the same error. as fallow:

Uncaught TypeError: Object function (a){for(var b in a)dhtmlx[b]=a[b];return dhtmlx} has no method ‘confirm’ dhtmlxscheduler.js:88
scheduler._dhtmlx_confirm dhtmlxscheduler.js:88
scheduler._click.buttons.delete dhtmlxscheduler.js:87
scheduler._click.dhx_cal_data dhtmlxscheduler.js:86
scheduler._click.dhx_marked_timespan.scheduler._click.dhx_cal_data dhtmlxscheduler_timeline.js:40

any body have any suggestion.

I sorted my problem

with removing this class.
// echo $javascript->link(‘dhtmlxWindows/codebase/dhtmlxcommon.js’)."\n";

and if you are using dhtmlXWindows let me know I give you an other advise :smiley: