Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/event
In directory usw-pr-cvs1:/tmp/cvs-serv15213

Modified Files:
        mouse.js 
Log Message:
Should fix double click events in non windows NS

Index: mouse.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/mouse.js,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** mouse.js    2001/05/07 11:39:56     1.13
--- mouse.js    2001/05/25 02:21:45     1.14
***************
*** 121,130 ****
        // Other checks
        if (is.ns4 && is.platform=="other" && type=="mousedown") {
!               if (this.dbltimer!=null) {
                        evt.type=type="dblclick";
                        evt.bubble = true;
                        realsrc.invokeEvent(type,evt);
                }
!               else this.dbltimer=setTimeout(this+'.dbltimer=null',300);
        }
  
--- 121,130 ----
        // Other checks
        if (is.ns4 && is.platform=="other" && type=="mousedown") {
!               if (realsrc.dbltimer!=null) {
                        evt.type=type="dblclick";
                        evt.bubble = true;
                        realsrc.invokeEvent(type,evt);
                }
!               else realsrc.dbltimer=setTimeout(realsrc+'.dbltimer=null',300);
        }
  


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

Reply via email to