Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/event
In directory usw-pr-cvs1:/tmp/cvs-serv14731
Modified Files:
mouse.js keyboard.js dragevent.js
Log Message:
NS resize fixes + text selection fixes + handleEvent fixes
Index: mouse.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/mouse.js,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** mouse.js 2001/05/25 02:21:45 1.14
--- mouse.js 2001/05/31 10:18:43 1.15
***************
*** 129,141 ****
}
! if (is.ns4) {
! if (e.cancelBubble) return false;
! if (e && e.target.handleEvent && e.target!=this)
e.target.handleEvent(type,e);
! }
! if (is.ns4 && type=="mouseup") {
evt.type=type="click";
evt.bubble = true;
realsrc.invokeEvent(type,evt);
! }
// Return value
--- 129,142 ----
}
! if (is.ns4) {
! if (e.cancelBubble) return false;
! if (e && e.target.handleEvent && e.target!=this)
e.target.handleEvent(e);
! }
!
! /* if (is.ns4 && type=="mouseup") {
evt.type=type="click";
evt.bubble = true;
realsrc.invokeEvent(type,evt);
! } */
// Return value
***************
*** 240,245 ****
// DynLayer Specific
DynLayer.prototype._OldM_specificCreate = DynLayer.prototype.specificCreate
! DynLayer.prototype.specificCreate = function() {
! this._OldM_specificCreate()
this.assignMouseEvents()
}
--- 241,246 ----
// DynLayer Specific
DynLayer.prototype._OldM_specificCreate = DynLayer.prototype.specificCreate
! DynLayer.prototype.specificCreate = function(override) {
! this._OldM_specificCreate(override)
this.assignMouseEvents()
}
Index: keyboard.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/keyboard.js,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** keyboard.js 2001/05/07 11:39:56 1.8
--- keyboard.js 2001/05/31 10:18:43 1.9
***************
*** 124,129 ****
// DynLayer Specific
DynLayer.prototype._OldK_specificCreate = DynLayer.prototype.specificCreate
! DynLayer.prototype.specificCreate = function() {
! this._OldK_specificCreate()
this.assignKeyEvents()
}
--- 124,129 ----
// DynLayer Specific
DynLayer.prototype._OldK_specificCreate = DynLayer.prototype.specificCreate
! DynLayer.prototype.specificCreate = function(override) {
! this._OldK_specificCreate(override)
this.assignKeyEvents()
}
Index: dragevent.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/dragevent.js,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** dragevent.js 2001/04/08 17:47:03 1.5
--- dragevent.js 2001/05/31 10:18:43 1.6
***************
*** 24,28 ****
DragEvent.lyrListener.onmousedown=function(e) {
! if (is.def) e.cancelBrowserEvent();
if (DragEvent.dragevent.src) return;
--- 24,28 ----
DragEvent.lyrListener.onmousedown=function(e) {
! e.cancelBrowserEvent();
if (DragEvent.dragevent.src) return;
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs