From 9379ee29f49647ccc780533bae6a65434fbb16ea Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 9 Aug 2006 17:30:54 +0000 Subject: [PATCH] looks like the implementation of tree did change with newer xulrunner builds git-svn-id: svn://svn.open-ils.org/ILS/trunk@5407 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 488ed3466b..fbe7536703 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -355,8 +355,8 @@ util.list.prototype = { }, 'detect_visible' : function() { + var obj = this; try { - var obj = this; //dump('detect_visible obj.node = ' + obj.node + '\n'); /* FIXME - this is a hack.. if the implementation of tree changes, this could break */ var scrollbar = document.getAnonymousNodes( document.getAnonymousNodes(obj.node)[1] )[1]; @@ -368,7 +368,7 @@ util.list.prototype = { obj.curpos = curpos; obj.maxpos = maxpos; } } - } catch(E) { alert(E); } + } catch(E) { obj.error.sdump('D_ERROR',E); } }, 'detect_visible_polling' : function() { -- 2.11.0