Gracefully handle reporter class with no labels
authorBill Erickson <berick@esilibrary.com>
Tue, 4 Sep 2012 18:43:27 +0000 (14:43 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 4 Sep 2012 20:36:49 +0000 (16:36 -0400)
commit902609c9ef2f169702eaca74a22639ce8fffe37b
tree5f5563df561bf7f4bb4e88dc8b1e8926bdcd2da7
parent2c87f171922cd5a929ecdd6d2fa2aa0009711978
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