app/assets/javascripts/kojac.js in kojac-0.16.0 vs app/assets/javascripts/kojac.js in kojac-0.17.0
- old
+ new
@@ -1355,16 +1355,13 @@
}
}
aRequest.error.headers = aXhr.getAllResponseHeaders();
aRequest.error.response = aXhr.responseText;
- //_.removeKey(aRequest,'results');
for (var i=0;i<server_ops.length;i++) {
var opRequest = server_ops[i]; //aRequest.ops[request_op_index[i]];
opRequest.fromCache = false;
opRequest.performed = true;
- //if (opRequest.error)
- // _.removeKey(opRequest,'results');
}
aRequest.handlers.handleError(aRequest.error);
} else { // ops may have errors
// poke results into request ops using request_op_index