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:37:18 +0000 (16:37 -0400)
commit120e1674efbf0f6b2a045cfe72ea153290d5cdf3
tree602e3ed9b0a4c2a12e437c71e9d4faffadcb3f54
parentdb7e9a492995207006b5a5285677a1f278ce0831
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