From: Robert R. <rai...@us...> - 2002-01-14 02:34:13
|
Update of /cvsroot/dynapi/dynapi2x/src/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv24807/src/dynapi/api Modified Files: dyndocument.js mouse.js Log Message: Events fix for frames in IE Index: dyndocument.js =================================================================== RCS file: /cvsroot/dynapi/dynapi2x/src/dynapi/api/dyndocument.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** dyndocument.js 2002/01/11 20:51:55 1.1 --- dyndocument.js 2002/01/14 02:34:10 1.2 *************** *** 82,85 **** --- 82,86 ---- p._create = function() { this._created = true; + this.frame.lyrobj = this; if (dynapi.ua.ns4) { this.css = this.doc; *************** *** 95,98 **** --- 96,100 ---- } this.elm.lyrobj = this; + this.doc.lyrobj = this; this.findDimensions(); for (var i=0;i<this.children.length;i++) { Index: mouse.js =================================================================== RCS file: /cvsroot/dynapi/dynapi2x/src/dynapi/api/mouse.js,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** mouse.js 2002/01/11 20:51:55 1.1 --- mouse.js 2002/01/14 02:34:10 1.2 *************** *** 46,52 **** }; MouseEvent.eventHandler = function(e) { ! var dynobject = this.lyrobj; if (DynAPI.ua.def) { ! if (DynAPI.ua.ie) var e = window.event; e.cancelBubble=true; } --- 46,52 ---- }; MouseEvent.eventHandler = function(e) { ! var dynobject = this.lyrobj._dyndoc; if (DynAPI.ua.def) { ! if (DynAPI.ua.ie) var e = dynobject.frame.event; e.cancelBubble=true; } |