From: Dan Scott Date: Wed, 4 May 2011 00:51:44 +0000 (-0400) Subject: Avoid empty ID attribute in SELECT element X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d24c5dd8aa2330d41c5cbdb053a1ec8bdc05d988;p=evergreen%2Fequinox.git Avoid empty ID attribute in SELECT element The current code appears to always generate an empty id="" attribute, as the "id" variable never gets populated. For now, protect against the empty ID attribute. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 b/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 index aa99e91b0b..2daf63ad75 100644 --- a/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 +++ b/Open-ILS/web/templates/default/opac/parts/org_selector.tt2 @@ -17,7 +17,7 @@ # PROCESS build_org_selector id='selector-id' name='selector-name' BLOCK build_org_selector; %] - [% PROCESS build_org_selector_options walker=(org_unit || ctx.aou_tree) value=value %] [% END %]