From: <no...@so...> - 2001-01-09 08:50:04
|
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 |
From: <no...@so...> - 2001-01-12 19:17:54
|
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: Closed Resolution: Works For Me Bug Group: None Priority: 5 Submitted by: nobody Assigned to : dcpascal 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') { Follow-Ups: Date: 2001-Jan-12 11:18 By: dcpascal Comment: Just tested with latest CVS code, and it works correctly, without error calls. ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=128146&group_id=5757 |
From: Robert R. <rra...@ya...> - 2001-01-09 16:31:55
|
A possible fix is to use: if (dlyr.clip) That should fix the problem I think. -- // Robert Rainwater On 1/9/2001, 3:50:22 AM EST, noreply wrote about "[Dynapi-Dev] [Bug #128146] netscape addChild() bug": > 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 > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: <ma...@ab...> - 2001-01-10 07:56:34
|
yes it solved the problem. can you update CVS? currently i havent got cvs to work except anonymous-read-access. update in dynlayer.js line #75 and #272 (in my version that is..) /martin > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...]On Behalf Of Robert > Rainwater > Sent: den 9 januari 2001 17:31 > To: DynAPI Development List > Subject: Re: [Dynapi-Dev] [Bug #128146] netscape addChild() bug > > > > A possible fix is to use: > > if (dlyr.clip) > > That should fix the problem I think. > > -- > // Robert Rainwater > > On 1/9/2001, 3:50:22 AM EST, noreply wrote about "[Dynapi-Dev] > [Bug #128146] netscape addChild() bug": > > > 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 > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |