X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fxmlhttp.html;h=0a6941b87d41a9c9989697dae6240a5484d5c9d2;hp=d0c7990953796562d3aaafa549bdd87abb070052;hb=38c3dc6772f77c0eb4d56a109c766f47dbeb0455;hpb=d405baaf291959e394f9701037176a0c6b3d5226 diff --git a/httemplate/elements/xmlhttp.html b/httemplate/elements/xmlhttp.html index d0c799095..0a6941b87 100644 --- a/httemplate/elements/xmlhttp.html +++ b/httemplate/elements/xmlhttp.html @@ -75,7 +75,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);