From: Cesar Velez Date: Tue, 27 Jun 2017 19:06:48 +0000 (-0400) Subject: LP#1695029-Webstaff Fix Patron Registration page never loading X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6cc311f5fd01b0f3467612921afebdfe5bab6f63;p=Evergreen.git LP#1695029-Webstaff Fix Patron Registration page never loading It looks like there was a variable mistype causing the page to not load, but the setting that the lp bug mentions wasn't being properly bound and needed to be wrapped to a boolean. Signed-off by: Cesar Velez Signed-off-by: Josh Stompro Signed-off-by: Rogan Hamby Signed-off-by: Jason Etheridge --- 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 f40a9c0e04..d3986f1daf 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js @@ -499,8 +499,8 @@ angular.module('egCoreMod') // apply default user setting values angular.forEach(setting_types, function(stype, index) { if (stype.reg_default() != undefined) { - service.user_settings[setting.name()] = - setting.reg_default(); + service.user_settings[stype.name()] = + Boolean(stype.reg_default()); } }); }