]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Temporary workaround for silenting mysterious 200 OK error for XHR
authorSarven Capadisli <csarven@controlyourself.ca>
Mon, 8 Jun 2009 18:55:23 +0000 (18:55 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Mon, 8 Jun 2009 18:55:23 +0000 (18:55 +0000)
commita2ca9d96d202d2acd4210fceec1a394f82f635ce
tree48bacbd7145e18dd2720327337dea2f299f78fb5
parent265e2bd58de2a01e0d7840310eb44b21b70e3914
Temporary workaround for silenting mysterious 200 OK error for XHR
notice posts.

The bug is sometimes reproduceable by sending a notice that includes
"@someusernamethatdoesntexist".

This patch doesn't throw alerts to user if server doesn't return with
an XHR response but HTTP is one of 20x, 30x.
js/util.js