From: phasefx Date: Thu, 29 Oct 2009 05:29:33 +0000 (+0000) Subject: tweak some of the debug output here X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=87b1954559d14d70cbfbb1e9a8d98bf3a363c0ee;p=evergreen%2Fpines.git tweak some of the debug output here git-svn-id: svn://svn.open-ils.org/ILS/trunk@14668 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 f7d495d480..1d95c4e4dc 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -561,11 +561,13 @@ util.list.prototype = { treeitem.appendChild( treerow ); treerow.setAttribute('retrieve_id',params.retrieve_id); - s += ('tree = ' + this.node + '\n'); - s += ('treeitem = ' + treeitem + ' treerow = ' + treerow + '\n'); + s += ('tree = ' + this.node.nodeName + '\n'); + s += ('treeitem = ' + treeitem.nodeName + ' treerow = ' + treerow.nodeName + '\n'); if (typeof params.retrieve_row == 'function' || typeof this.retrieve_row == 'function') { + s += 'found a retrieve_row function\n'; + obj.put_retrieving_label(treerow); treerow.addEventListener( 'flesh', @@ -628,6 +630,9 @@ util.list.prototype = { ); */ } else { + + s += 'did not find a retrieve_row function\n'; + obj.put_retrieving_label(treerow); treerow.addEventListener( 'flesh', @@ -652,7 +657,6 @@ util.list.prototype = { ); */ } - this.error.sdump('D_LIST',s); try { @@ -672,6 +676,8 @@ util.list.prototype = { JSAN.use('util.widgets'); util.widgets.dispatch('select',obj.node); + this.error.sdump('D_LIST',s); + return params; },