From: Jason Etheridge <jason@esilibrary.com> Date: Thu, 8 Sep 2011 07:19:11 +0000 (-0400) Subject: a CSS hook in case folks want to hide this X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=642dae8cbd68410b80f518ac1683e64003735738;p=evergreen%2Fmasslnc.git a CSS hook in case folks want to hide this 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> --- diff --git a/Open-ILS/xul/staff_client/server/patron/summary.js b/Open-ILS/xul/staff_client/server/patron/summary.js index 12bb7527d2..5eab31e4b9 100644 --- a/Open-ILS/xul/staff_client/server/patron/summary.js +++ b/Open-ILS/xul/staff_client/server/patron/summary.js @@ -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);