From b754f4adcd7c82fff361dd7d8265f475b4047918 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Thu, 19 Apr 2012 21:01:35 -0400 Subject: [PATCH] fix error reporting when using list.wrap_in_full_retrieve Signed-off-by: Jason Etheridge Signed-off-by: Bill Erickson --- Open-ILS/xul/staff_client/chrome/content/util/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.43.2