From: Jason Etheridge Date: Fri, 20 Apr 2012 01:01:35 +0000 (-0400) Subject: fix error reporting when using list.wrap_in_full_retrieve X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b754f4adcd7c82fff361dd7d8265f475b4047918;p=evergreen%2Fpines.git fix error reporting when using list.wrap_in_full_retrieve Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js index d6057e399f..b17e9b2b4f 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -1075,7 +1075,7 @@ util.list.prototype = { dump('exec_on_all_fleshed, processing on_all_fleshed array, length = ' + obj.on_all_fleshed.length + '\n'); var f = obj.on_all_fleshed.pop(); if (typeof f == 'function') { - try { f(); } catch(E) { obj.error.standard_unexpected_error_alert('_full_retrieve_tree callback',f); } + try { f(); } catch(E) { obj.error.standard_unexpected_error_alert('_full_retrieve_tree callback',E); } } if (obj.on_all_fleshed.length > 0) arguments.callee(); } catch(E) {