From 2eaadf557bd3d30abdc680dc2ba188df660b20f5 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 --- 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 02e9902606..486f78d503 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()); } }); } -- 2.11.0