[freeside-commits] freeside/httemplate/elements xmlhttp.html, 1.10, 1.10.4.1

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


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

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	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.10
retrieving revision 1.10.4.1
diff -u -w -d -r1.10 -r1.10.4.1
--- xmlhttp.html	8 May 2008 12:45:59 -0000	1.10
+++ xmlhttp.html	10 Aug 2010 21:37:06 -0000	1.10.4.1
@@ -75,7 +75,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