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=refs%2Fheads%2Fuser%2Fstompro%2Flp1695029_webstaff_patron_reg_screen_signoff;p=working%2FEvergreen.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 --- 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 4e53fde217..2a2757f96c 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()); } }); }