From 688e8e1a2df9b45099799d31c90b245147758e4c Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Tue, 27 Jun 2017 15:06:48 -0400 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 6d9ddc8f5b..0ec59dfb9d 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 @@ -516,8 +516,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()); } }); } -- 2.43.2