X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fxmlhttp.html;h=ac6f9916e6e2185e2cb52fb77d3a0a3909c3626f;hb=b431ece7b4a71aa5771f44393da582692f668817;hp=2df3c42c9c8dc9423e5aeecf7d796be4ae0fae2f;hpb=43e42a04ae37ca7a84c05d9ff8b94d9f8cde6dcf;p=freeside.git diff --git a/httemplate/elements/xmlhttp.html b/httemplate/elements/xmlhttp.html index 2df3c42c9..ac6f9916e 100644 --- a/httemplate/elements/xmlhttp.html +++ b/httemplate/elements/xmlhttp.html @@ -58,7 +58,11 @@ Example: return; if (xmlhttp.status != 200) { - alert(xmlhttp.status + " status connecting to " + url); + if ( xmlhttp.status != 0 ) { + //not warning on the 0 errors, they pop up when navagating away + // from the page + alert(xmlhttp.status + " status connecting to " + url); + } } else { var data = xmlhttp.responseText; //alert('received response: ' + data);