From: Pascal <pb...@oi...> - 2001-02-20 08:11:28
|
just another example to not work with CVS code :-) Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com -----Oorspronkelijk bericht----- Van: dyn...@li... [mailto:dyn...@li...]Namens Doug Melvin Verzonden: dinsdag 20 februari 2001 4:13 Aan: dyn...@li... Onderwerp: [Dynapi-Dev] errorHandler who the heck made this default? errorHandler : function (msg, url, lno) { if (is.ie) { lno-=1 alert("DynAPI reported an error\n\nError in project: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: " + msg) } else if (is.ns4) { alert("DynAPI reported an error\n\nError in file: '" + url + "'.\nLine number: " + lno + ".\n\nMessage: " + msg) } else return false return true }, And why didn't anyone mention it? Here I am, looking at a blank Browser (IE) and wondering why my page wasn't rendering, and why no error where being generated. BTW: it DON'T work in IE5.5 The error gets lost, as if it never happened. --- Outgoing mail is certified Virus Free by AVG Free Edition Download at: http://www.grisoft.com/html/us_index.cfm Checked by AVG anti-virus system ( http://www.grisoft.com). Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01 |