[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 3d59a013070b41565e67398cb19d246095a05b3d
Evergreen Git
git at git.evergreen-ils.org
Wed Apr 9 11:08:18 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, master has been updated
via 3d59a013070b41565e67398cb19d246095a05b3d (commit)
from 36595be8ff3bbc71a447611e34447b34f8edd4b3 (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 3d59a013070b41565e67398cb19d246095a05b3d
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 c31eb2f..aa8ec75 100644
--- a/Open-ILS/web/js/ui/default/actor/user/register.js
+++ b/Open-ILS/web/js/ui/default/actor/user/register.js
@@ -1940,6 +1940,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