Avoid empty ID attribute in SELECT element
authorDan Scott <dan@coffeecode.net>
Wed, 4 May 2011 00:51:44 +0000 (20:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 20 Jul 2011 18:37:39 +0000 (14:37 -0400)
commitd24c5dd8aa2330d41c5cbdb053a1ec8bdc05d988
tree5ccb8d28d2de1f5440c6b7a6388b2cc9272b1f0d
parente152cf650e918f7baae14e010b4e9f060d49bdb3
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 <dan@coffeecode.net>
Open-ILS/web/templates/default/opac/parts/org_selector.tt2