support the setting of properties on treerows in util.list, so that we can style...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Oct 2009 18:14:12 +0000 (18:14 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Oct 2009 18:14:12 +0000 (18:14 +0000)
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

index bc6b425..fcea5c4 100644 (file)
@@ -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');