[freeside-commits] freeside/httemplate/elements xmlhttp.html, 1.11, 1.12

Ivan,,, ivan at wavetail.420.am
Tue Aug 10 14:37:07 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv23710

Modified Files:
	xmlhttp.html 
Log Message:
eliminate the '0 status connecting' errors, they're not telling us anything and causing lots of people to waste time asking

Index: xmlhttp.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/xmlhttp.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -d -r1.11 -r1.12
--- xmlhttp.html	8 Jan 2010 16:05:04 -0000	1.11
+++ xmlhttp.html	10 Aug 2010 21:37:05 -0000	1.12
@@ -58,7 +58,11 @@
         	return;
 
             if (xmlhttp.status != 200) {
+              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);



More information about the freeside-commits mailing list