[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. d7e86dd0f4f8cdfb73042e8ec61717c44eb58702
Evergreen Git
git at git.evergreen-ils.org
Tue Jul 19 10:32:25 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, rel_2_1 has been updated
via d7e86dd0f4f8cdfb73042e8ec61717c44eb58702 (commit)
from 6bc473afc1353e08b62ac0e49e4007dbcc0dba82 (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 d7e86dd0f4f8cdfb73042e8ec61717c44eb58702
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 415b604..36199e5 100644
--- a/Open-ILS/xul/staff_client/server/patron/display.js
+++ b/Open-ILS/xul/staff_client/server/patron/display.js
@@ -952,7 +952,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