moar stuff

This commit is contained in:
Matt Corallo
2014-01-17 01:08:47 -05:00
parent 42de35dd72
commit 4595ad0fc4
3 changed files with 59 additions and 1 deletions

View File

@@ -565,7 +565,7 @@ function doAjax(param) {
},
error: function(jqXHR, textStatus, errorThrown) {
var code = jqXHR.status;
if (code == 200) {// happens sometimes when we get no response
if (code == 200) {// happens sometimes when we get no response (TODO: Fix server to return 204? instead)
if (param.success_callback !== undefined)
param.success_callback(null);
return;