projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3980026
)
LP#1264746 return boolean, not promise
user/jeff/lp1264746_email_password_reset_button
author
Jeff Godin
<jgodin@tadl.org>
Tue, 26 Mar 2019 21:29:18 +0000
(17:29 -0400)
committer
Jeff Godin
<jgodin@tadl.org>
Tue, 26 Mar 2019 21:29:18 +0000
(17:29 -0400)
Change check_email_different to return a boolean instead of a
promise. Thanks, berick!
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
patch
|
blob
|
history
diff --git
a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
index
c0104b4
..
a6b611e
100644
(file)
--- a/
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
+++ b/
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
@@
-168,7
+168,7
@@
angular.module('egCoreMod')
service.check_email_different = function(email) {
if (service.existing_patron) {
if (email != service.existing_patron.email()) {
- return
$q.when(true)
;
+ return
true
;
}
}
}