projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1ec723c
)
eliminate the '0 status connecting' errors, they're not telling us anything and causi...
author
ivan
<ivan>
Tue, 10 Aug 2010 21:37:05 +0000
(21:37 +0000)
committer
ivan
<ivan>
Tue, 10 Aug 2010 21:37:05 +0000
(21:37 +0000)
httemplate/elements/xmlhttp.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/xmlhttp.html
b/httemplate/elements/xmlhttp.html
index
2df3c42
..
ac6f991
100644
(file)
--- 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);