From: Jason Stephenson Date: Tue, 9 Aug 2011 19:49:21 +0000 (-0400) Subject: Branchify second patch from James Fournie on LP bug #791941. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=069dc3e92e9ef89aade06ab592dc9fc4b219a547;p=working%2FEvergreen.git Branchify second patch from James Fournie on LP bug #791941. Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/web/js/ui/default/actor/user/register.js b/Open-ILS/web/js/ui/default/actor/user/register.js index 3832c97388..56126b001e 100644 --- a/Open-ILS/web/js/ui/default/actor/user/register.js +++ b/Open-ILS/web/js/ui/default/actor/user/register.js @@ -699,6 +699,11 @@ function fleshFMRow(row, fmcls, args) { wargs.forceSync = false; } + if(fmcls == 'au' && fmfield == 'home_ou'){ + wargs.labelAttr = 'name'; + wargs.searchAttr = 'name'; + } + var widget = new openils.widget.AutoFieldWidget(wargs); widget.build( function(w, ww) {