[Dojo-interest] RichText OnMouseDown

Alex Russell alex at dojotoolkit.org
Sun Apr 23 16:30:07 MDT 2006


Also, are/were you working from trunk? I've checked in a fix to an issue 
that may have been causing this (it was causing weirdness with other 
connect()s to DOM-bound event handlers). An "svn up" may fix you.

Regards

On Saturday 22 April 2006 10:08 am, Alex Russell wrote:
> I'm not sure that should make a difference. connect() should
> correctly handle the case where a function object is passed.
>
> Matias, is this failing on all browsers for you?
>
> Regards
>
> On Friday 21 April 2006 2:45 pm, Jon Sykes wrote:
> > Try…
> >
> > > dojo.event.connect(widget.editNode, "onmousedown", "myFunc");
> >
> > Jon
> >
> > On Apr 21, 2006, at 5:43 PM, Matias Cudich wrote:
> > > Any ideas why this works in Firefox:
> > > widget.editNode.addEventListener("mousedown", myFunc, true);
> > >
> > > and this doesn't:
> > > dojo.event.connect(widget.editNode, "onmousedown", myFunc);

-- 
Alex Russell
alex at jot.com
alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://dojotoolkit.org/pipermail/dojo-interest/attachments/20060423/bd0a8351/attachment.pgp


More information about the Dojo-interest mailing list