summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-05-18 16:57:30 +0300
committerLV-426 <lv-426@taproot.org.il>2015-05-18 18:32:30 +0300
commit5bb5a45705b7cc0ff58b3e175063c5908dfc0678 (patch)
tree496247cf06db37cd26a1d63ae6a205797bfcd897 /src
parent1d1e304e576273fb47c3fa0af710d763e5549f91 (diff)
rz_api_backend.js: propagate xhr, text_status, err_thrown
Diffstat (limited to 'src')
-rw-r--r--src/client/rz_api_backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rz_api_backend.js b/src/client/rz_api_backend.js
index 936fef11..4f44031e 100644
--- a/src/client/rz_api_backend.js
+++ b/src/client/rz_api_backend.js
@@ -24,7 +24,7 @@ define(['util', 'model/core'], function(util, model_core) {
var err_msg = xhr.responseJSON && xhr.responseJSON.error;
console.error('ajax error: status: \'' + text_status + '\' error-msg: ' + err_msg);
if (on_error && typeof (on_error) === "function") {
- on_error(err_msg);
+ on_error(xhr, text_status, err_thrown);
}
}