From f4a02c463765bd079ca766f13005f8c90558efe9 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 15 Oct 2009 18:14:12 +0000 Subject: [PATCH] support the setting of properties on treerows in util.list, so that we can style an arbitrary row with CSS git-svn-id: svn://svn.open-ils.org/ILS/trunk@14453 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/list.js | 1 + 1 file changed, 1 insertion(+) 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 bc6b425331..fcea5c409d 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -412,6 +412,7 @@ util.list.prototype = { var treerow = document.createElement('treerow'); treeitem.appendChild( treerow ); treerow.setAttribute('retrieve_id',params.retrieve_id); + if (params.row_properties) treerow.setAttribute('properties',params.row_properties); s += ('tree = ' + this.node + ' treechildren = ' + treechildren_node + '\n'); s += ('treeitem = ' + treeitem + ' treerow = ' + treerow + '\n'); -- 2.11.0