[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_4 updated. 0707923123fa2f6d95157463dbd794b91f425afa

Evergreen Git git at git.evergreen-ils.org
Wed Apr 9 11:06:40 EDT 2014


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_4 has been updated
       via  0707923123fa2f6d95157463dbd794b91f425afa (commit)
      from  df77fdd85abec2c11de3a1cdd1b1b7ec6f392d6f (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 0707923123fa2f6d95157463dbd794b91f425afa
Author: Jeff Godin <jgodin at tadl.org>
Date:   Wed Oct 30 13:17:25 2013 -0400

    Add alert in user editor for method errors
    
    Add an alert() in the user editor so that method errors are not
    silent.
    
    Without this, a method error (such as when saving a patron fails at
    the db level) is silent. Better to at least inform the user that
    something is amiss.
    
    Signed-off-by: Jeff Godin <jgodin at tadl.org>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js
index 11426a4..77e6605 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -1851,6 +1851,9 @@ function _uEditSave(doClone) {
                     if(stageUser) uEditRemoveStage();
                     uEditFinishSave(newPatron, doClone);
                 }
+            },
+            onmethoderror: function(req, status, status_text) {
+                alert("Method error: " + status + ": " + status_text);
             }
         }
     );

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

Summary of changes:
 Open-ILS/web/js/ui/default/actor/user/register.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list