[open-ils-commits] [GIT] Evergreen ILS branch rel_2_11 updated. 6815904700aebaa1dd5a1011bbc35754ee0a6e24
Evergreen Git
git at git.evergreen-ils.org
Wed Jan 25 11:12:36 EST 2017
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_11 has been updated
via 6815904700aebaa1dd5a1011bbc35754ee0a6e24 (commit)
from 0117ed68446e1308905405ab6514cdd5cd89cab6 (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 6815904700aebaa1dd5a1011bbc35754ee0a6e24
Author: Michele Morgan <mmorgan at noblenet.org>
Date: Tue Jan 24 09:17:58 2017 -0500
LP#1659006: Treat the Cost field like the other money fields in the copy editor,
reverting to null if blanked.
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.js b/Open-ILS/xul/staff_client/server/cat/copy_editor.js
index f4537a2..3d7a189 100644
--- a/Open-ILS/xul/staff_client/server/cat/copy_editor.js
+++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.js
@@ -567,7 +567,7 @@ g.apply = function(field,value) {
value = null;
}
if (field == 'alert_message') { value = value.replace(/^\W+$/g,''); }
- if (field == 'price' || field == 'deposit_amount') {
+ if (field == 'price' || field == 'deposit_amount' || field == 'cost'){
if (value == '') {
value = null;
} else {
-----------------------------------------------------------------------
Summary of changes:
.../xul/staff_client/server/cat/copy_editor.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list