|
From: Jordi 'I. M. <jmi...@or...> - 2001-01-10 13:10:51
|
Again one must eat its own words: of course the click event is called correctly
because it is a native browser event. That code was meant for some platforms
where the mouseup was not followed by a onclick.
I don't like being wrong. :(
Jordi 'IlMaestro' Ministral wrote:
> I'm trying to fix the label and button widgets in the hope that this will
> lead to fix many other bugs. Now, tracking down one of these pestering
> event-not-happening bugs I've reached this place inside event.js
>
> if (is.ns4 && is.platform=="other" && type=="mouseup")
> this.invokeEvent("click",e);
>
> I'm reasonabily sure that this -is.platform- condition should not be there.
> Coded that way, click events only fire when you're running a Linux/Unix
> Netscape, don't they ? By removing the condition, the button widget worked
> fine in NS( did you notice that clicking the text in the button was causing
> the button to animate but the resizing did not happen ? ). IE, as Pascal
> already stated, has another problem.
>
|