[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. bbcd9e5859d2d1c6dccccf93fccb3b30b5f32af5

Evergreen Git git at git.evergreen-ils.org
Wed Apr 9 11:07:42 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_5 has been updated
       via  bbcd9e5859d2d1c6dccccf93fccb3b30b5f32af5 (commit)
      from  d49038c3cf415cc1f424fbd524f261c1aa4d9abe (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 bbcd9e5859d2d1c6dccccf93fccb3b30b5f32af5
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 671502a..91410a6 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -1915,6 +1915,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