From 667022d2eb8ee3289252bf85992fb204e2a2b1a0 Mon Sep 17 00:00:00 2001 From: pines Date: Tue, 30 Jan 2007 16:37:13 +0000 Subject: [PATCH] deprecate to_top, make it the default git-svn-id: svn://svn.open-ils.org/ILS/trunk@6830 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 e7f98107a0..4840db0b77 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -337,7 +337,7 @@ util.list.prototype = { var treeitem = document.createElement('treeitem'); treeitem.setAttribute('retrieve_id',params.retrieve_id); - if (typeof params.to_top == 'undefined') { + if (typeof params.to_bottom != 'undefined') { treechildren_node.appendChild( treeitem ); } else { if (treechildren_node.firstChild) { @@ -443,7 +443,7 @@ util.list.prototype = { if (obj.trim_list && obj.row_count.total >= obj.trim_list) { // Remove oldest row - if (typeof params.to_top == 'undefined') { + if (typeof params.to_bottom != 'undefined') { treechildren_node.removeChild( treechildren_node.firstChild ); } else { treechildren_node.removeChild( treechildren_node.lastChild ); -- 2.11.0