a CSS hook in case folks want to hide this
authorJason Etheridge <jason@esilibrary.com>
Thu, 8 Sep 2011 07:19:11 +0000 (03:19 -0400)
committerJason Etheridge <jason@esilibrary.com>
Thu, 8 Sep 2011 07:32:44 +0000 (03:32 -0400)
If you'd like to hide usr_summary stat cats in the patron
info pane, add this to server/skin/patron_summary_custom.css:

.stat_cat_summary_row { display: none; }

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Open-ILS/xul/staff_client/server/patron/summary.js

index 12bb752..5eab31e 100644 (file)
@@ -987,11 +987,13 @@ patron.summary.prototype = {
                                 var row; var label1; var label2;
                                 if ($(row_id)) {
                                     row = $(row_id);
+                                    row.setAttribute('class','stat_cat_summary_row');
                                     label1 = row.firstChild;
                                     label2 = row.lastChild;
                                 } else {
                                     row = document.createElement('row');
                                     row.setAttribute('id',row_id);
+                                    row.setAttribute('class','stat_cat_summary_row');
                                     label1 = document.createElement('label');
                                     label2 = document.createElement('label');
                                     row.appendChild(label1);