[open-ils-commits] [GIT] Evergreen ILS branch master updated. 306775b7272d7b35abdd22014c67eef505fbcaa2

Evergreen Git git at git.evergreen-ils.org
Tue Jul 19 10:31:23 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  306775b7272d7b35abdd22014c67eef505fbcaa2 (commit)
      from  dbc489a4fe8d646fee53b5f46f6b8c1c8dfae52c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 306775b7272d7b35abdd22014c67eef505fbcaa2
Author: Steven Callender <stevecallender at esilibrary.com>
Date:   Mon Jul 18 20:26:13 2011 +0000

    lp#812550: Removed nulls from showing for patron penalties when no note attached to penalty.
    
    Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
    Signed-off-by: Michael Peters <mrpeters at library.in.gov>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js
index 7840825..9e4ebfa 100644
--- a/Open-ILS/xul/staff_client/server/patron/display.js
+++ b/Open-ILS/xul/staff_client/server/patron/display.js
@@ -954,7 +954,7 @@ patron.display.prototype = {
                         msg += '<dt>';
                         msg += obj.OpenILS.data.hash.aou[ penalties[i].org_unit() ].shortname() + ' : ' + penalties[i].standing_penalty().label() + '<br/>';
                         msg += '</dt><dd>';
-                        msg += penalties[i].note();
+                        msg += (penalties[i].note())?penalties[i].note():'';
                         msg += '</dd>';
                     }
                 }

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/xul/staff_client/server/patron/display.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list