onClick event in Year view

I tried to add onclick event in year view but it seems not working, also no error at bugzilla.

scheduler.attachEvent(“onClick”, function (){
return true;
alert(‘drag ok’);

I tried to put this into:

And then I load this file…
Tell how to add onClick event to year view.


onclick event fire when click-on-event occurs, there will not be onclick event if you are clicking just on empty space.

But is it possible somehow to make click event on empty day in year view calendar?