Greetings.
I try to attach as an event handler a method of a class, and I am missing
something. Here is what I try (simplified example)
var X=new Class({
initialize: function(Elm) {
Elm.addEvent('click',this.aclick);
},
aclick: function(){
alert('x');
}
});
I get :
C.call is not a function
removeEvent()()mootools...ressed.js (line 176)
if(C.call(I,J)===false){J.stop();}};}thi...eve("events");if(!A||!A[C]){return
this;
