[open-ils-commits] [GIT] Evergreen ILS branch master updated. 72df5dc92ef547e065f3a10f318d265236f3d220

Evergreen Git git at git.evergreen-ils.org
Wed Jan 25 11:11:28 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, master has been updated
       via  72df5dc92ef547e065f3a10f318d265236f3d220 (commit)
      from  c6935c073956c2a7922ba0d8742db7258db161a1 (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 72df5dc92ef547e065f3a10f318d265236f3d220
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