Bug #128146, was updated on 2001-Jan-09 00:50
Here is a current snapshot of the bug.

Project: DynAPI 2
Category: Core API
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: netscape addChild() bug

Details: this basic code: 

DynAPI.onLoad=function() {
  lay = new DynLayer(null,0,0,280,12,'red');
  DynAPI.document.addChild(lay);
};

doesn't work under netscape 4.76.
("clip is not defined. ")

this is because the clip-check on line 75 (im using
the latest files from cvs):

if (dlyr.clip!=null) {

isn't correct, dlyr.clip is undefined when i check the value.

line 272 has the same problems, dlyr.clip is undefined
but it only checks for null

maybe a possible fix would be:

if (dlyr.clip!=null && typeof dlyr.clip!='undefined') {




For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128146&group_id=5757

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

Reply via email to