From 560ea11e3a5c2b5dcac9f66a0dd2a197a2f8e0f1 Mon Sep 17 00:00:00 2001 From: phasefx Date: Mon, 18 Jul 2005 18:52:57 +0000 Subject: [PATCH] name, not value git-svn-id: svn://svn.open-ils.org/ILS/trunk@1269 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../staff_client/chrome/content/evergreen/patron/patron_utils.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js index bbc2bce5e1..ffa4cb63d3 100755 --- a/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js +++ b/Evergreen/staff_client/chrome/content/evergreen/patron/patron_utils.js @@ -6,6 +6,7 @@ function fake_patron() { p.checkouts( [] ); p.hold_requests( [] ); p.credit_forward_balance('0.00'); + p.bills = []; return p; } @@ -211,10 +212,10 @@ function patron_get_profile_as_text( au ) { au.profile() && mw.G.ap_hash && mw.G.ap_hash[ au.profile() ] && - mw.G.ap_hash[ au.profile() ].value && - mw.G.ap_hash[ au.profile() ].value() + mw.G.ap_hash[ au.profile() ].name && + mw.G.ap_hash[ au.profile() ].name() ) { - return mw.G.ap_hash[ au.profile() ].value(); + return mw.G.ap_hash[ au.profile() ].name(); } else { return null; } -- 2.11.0