From cea61e2436efc5a1e57e083a5ea7c877b3c123ca Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 16 Sep 2011 16:11:05 +0000 Subject: [PATCH] fixed typo stalling mail notifications --- phpgwapi/js/egw_json.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/phpgwapi/js/egw_json.js b/phpgwapi/js/egw_json.js index e230061c21..5d098a862a 100644 --- a/phpgwapi/js/egw_json.js +++ b/phpgwapi/js/egw_json.js @@ -418,12 +418,11 @@ egw_json_request.prototype.handleResponse = function(data, textStatus, XMLHttpRe { try { - window[res.data.func].apply(window, res.data.parameters); + window[res.data.func].apply(window, res.data.parms); } catch (e) { - e.code = res.data.func; - _egw_json_debug_log(e); + _egw_json_debug_log(e, {'Function': res.data.func, 'Parameters': res.data.parms}); } hasResponse = true; } else @@ -440,7 +439,7 @@ egw_json_request.prototype.handleResponse = function(data, textStatus, XMLHttpRe } catch (e) { - _egw_json_debug_log(e, {'Function': res.data.func, 'Parameters': res.data.params}); + _egw_json_debug_log(e, {'Function': res.data.func, 'Parameters': res.data.parms}); } hasResponse = true; } else