Mercurial > urweb
comparison lib/js/urweb.js @ 672:df6eb58de040
Fix some AJAX annoyances
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 24 Mar 2009 15:05:28 -0400 |
parents | 729e65db2e2f |
children | a8effb6159c2 |
comparison
equal
deleted
inserted
replaced
671:729e65db2e2f | 672:df6eb58de040 |
---|---|
273 | 273 |
274 xhr.onreadystatechange = orsc; | 274 xhr.onreadystatechange = orsc; |
275 requestUri(xhr, uri); | 275 requestUri(xhr, uri); |
276 } | 276 } |
277 else { | 277 else { |
278 whine("Error querying remote server for messages!"); | 278 try { |
279 whine("Error querying remote server for messages! " + xhr.status); | |
280 } catch (e) { } | |
279 } | 281 } |
280 } | 282 } |
281 }; | 283 }; |
282 | 284 |
283 xhr.onreadystatechange = orsc; | 285 xhr.onreadystatechange = orsc; |