From: phasefx Date: Fri, 14 Jul 2006 18:56:29 +0000 (+0000) Subject: for already fleshed trees X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7fc08f89d36f242a484326d597be5d4198a19cf2;p=Evergreen.git for already fleshed trees git-svn-id: svn://svn.open-ils.org/ILS/trunk@5008 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 3a4eb27379..ce0cde515b 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -427,8 +427,12 @@ util.list.prototype = { '_full_retrieve_tree' : function(params) { var obj = this; - var nodes = obj.treechildren.childNodes; - for (var i = 0; i < nodes.length; i++) util.widgets.dispatch('flesh',nodes[i]); + if (obj.all_fleshed) { + obj.all_fleshed = false; obj.all_fleshed = true; + } else { + var nodes = obj.treechildren.childNodes; + for (var i = 0; i < nodes.length; i++) util.widgets.dispatch('flesh',nodes[i]); + } }, '_append_to_listbox' : function (params) {