onClick event in Year view

Hello,
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:
sources/ext/ext_year_view.js

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

Thanks

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?