troels knak-nielsen schrieb:
> Show us your code.
logDebug("connect dragging events");
var conn = MochiKit.Signal.connect;
this.eventMouseUp = conn(document, 'onmouseup', this, "initDrag");
this.eventMouseMove = conn(document, 'onmousemove', this, "initDrag");
this.eventKeypress = conn(document, 'onkeypress', this, "initDrag");
this.eventMouseUp = conn(vp, 'onmouseup', this, "initDrag");
this.eventMouseMove = conn(vp, 'onmousemove', this, "initDrag");
this.eventKeypress = conn(vp, 'onkeypress', this, "initDrag");
initDrag : function(event) {
logDebug("initDrag");
this.old_pointer = event.mouse().pointer;
},
The error when connecting is gone, after I changed the connection call from
conn(src, "signal", dest, dest.function)
to
conn(src, "signal", dest, "function")
However, I don't get initDrag called ever.
Diez
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---