From: phasefx Date: Fri, 10 Sep 2010 20:12:45 +0000 (+0000) Subject: fixes a bug where where the Staff column in a Payments list was styling CSS for a... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ddc4e5df5c37bd75d2fab8716f420b4b54d022ec;p=evergreen%2Fpines.git fixes a bug where where the Staff column in a Payments list was styling CSS for a patron's billing Full Details dialog git-svn-id: svn://svn.open-ils.org/ILS/trunk@17590 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/util.js b/Open-ILS/xul/staff_client/server/patron/util.js index 37be06448d..0f235efb45 100644 --- a/Open-ILS/xul/staff_client/server/patron/util.js +++ b/Open-ILS/xul/staff_client/server/patron/util.js @@ -599,7 +599,7 @@ patron.util.retrieve_fleshed_au_via_id = function(session, id, fields, func) { typeof func == 'function' ? func : null ); if (typeof func != 'function') { - patron.util.set_penalty_css(patron_obj); + if (!fields) { patron.util.set_penalty_css(patron_obj); } return patron_obj; } }