Bugs item #428106, was updated on 2001-05-28 17:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=428106&group_id=5757

Category: DynAPI 2 Events
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Williams (chriswil)
Assigned to:  (dodoron)
Summary: handleevent

Initial Comment:
As far as I can tell the handle event method only 
takes one argument and that is the event that is being 
passed.  For some reason there is a handleevent 
function in listeners.js that takes several 
arguments.  Because of this the onclick, onmousedown, 
and onmouseup events are being lost for links, buttons 
etc in NS4.  The following lines in mouse.js:

        if (is.ns4) {
                if (e.cancelBubble) return false;
                if (e && e.target.handleEvent && 
e.target!=this) e.target.handleEvent(type,e);
                }

need to be replaced with these ones:

        if (is.ns4) {
                if (e.cancelBubble) return false;
                if (e && e.target.handleEvent && 
e.target!=this) e.target.handleEvent(e);
                }

and the following lines need to be removed:

        if (is.ns4 && type=="mouseup") {
                evt.type=type="click";
                evt.bubble = true;
                realsrc.invokeEvent(type,evt);
        }

I'm not sure what modifications are required in 
listeners.js

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=428106&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to