[open-ils-commits] r14453 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 15 14:14:16 EDT 2009


Author: phasefx
Date: 2009-10-15 14:14:12 -0400 (Thu, 15 Oct 2009)
New Revision: 14453

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js
Log:
support the setting of properties on treerows in util.list, so that we can style an arbitrary row with CSS

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js	2009-10-15 17:02:32 UTC (rev 14452)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js	2009-10-15 18:14:12 UTC (rev 14453)
@@ -412,6 +412,7 @@
 		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');



More information about the open-ils-commits mailing list