Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/event
In directory usw-pr-cvs1:/tmp/cvs-serv17952
Modified Files:
dragevent.js
Log Message:
added object check to avoid bug in scrollbars (is.def&&e.orig)
Index: dragevent.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/dragevent.js,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** dragevent.js 2001/11/14 13:27:02 1.13
--- dragevent.js 2001/11/24 23:26:32 1.14
***************
*** 25,29 ****
//fix to allow forms in draggable layers to select text.
! if (is.def) {
var tn = is.ie? e.orig.srcElement.tagName : e.orig.target.tagName;
if (tn=="INPUT" || tn=="TEXTAREA") return;
--- 25,29 ----
//fix to allow forms in draggable layers to select text.
! if (is.def&&e.orig) {
var tn = is.ie? e.orig.srcElement.tagName : e.orig.target.tagName;
if (tn=="INPUT" || tn=="TEXTAREA") return;
|