Gracefully handle reporter class with no labels
authorBill Erickson <berick@esilibrary.com>
Tue, 4 Sep 2012 18:43:27 +0000 (14:43 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 4 Sep 2012 18:55:07 +0000 (14:55 -0400)
commitad51dc50b0fc2829db25dd604fc8241a6bfd10ff
tree7c05a0ae8980d428d4b8c6ac98ca708a5bc3608a
parentad886561bb09256c72a6d9ea62ed7e02c90f8f73
Gracefully handle reporter class with no labels

LP 1045964 -- unable to clone report template

The template interface was failing while rendering the reporter sources
drop-down when a reporter source (IDL class) had no label.  This adds a
sanity check around that.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/web/reports/xul/source-setup.js