Gracefully handle reporter class with no labels user/berick/lp1045964_reporter_source_wants_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:43:27 +0000 (14:43 -0400)
commit07c77b3c6bae2b3ddd5af3b2579c8a83331ca3b4
tree93e454588fe9e4585d03837b287a1344b8c886fc
parent3480ea1fb4685849bbf70f9c8a627ea61e62838d
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>
Open-ILS/web/reports/xul/source-setup.js