summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-12-22 13:58:05 +0200
committerAlon Levy <alon@pobox.com>2014-12-22 13:58:05 +0200
commita4ec8f6e0e908128793b0450a4235ba4e90fae12 (patch)
treeb8463bbb50bc712d1ee575c712becfcf4deeb039 /src/client
parentbefe1d3ad5cceceb2251411840a7c864bef1cb0d (diff)
client/rz_api_backend: fix use of undefined variable on ajax error path
Diffstat (limited to 'src/client')
-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 da073f9f..76741533 100644
--- a/src/client/rz_api_backend.js
+++ b/src/client/rz_api_backend.js
@@ -18,7 +18,7 @@ define(['rz_config'], function(rz_config) {
// log wrap callback
console.error('error: \'' + err_text + '\'');
if (on_error && typeof (on_error) === "function") {
- on_error(err_type, err_text);
+ on_error(err_text);
}
}