Strings that should be translatable only show up in English,
for example in the Patron Registration screen.
There's a bug in the fieldmapper where it sets a variable to
an empty array, but later in the code only checks whether that
particular variable exists, not if it's an empty array.
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
window._preload_fieldmapper_IDL = null;
}
- if(!fieldmapper.IDL.fmclasses || (classlist && classlist.length)) {
+ if(!fieldmapper.IDL.fmclasses || !fieldmapper.IDL.fmclasses.length || (classlist && classlist.length)) {
var idl_url = this._URL_PATH;
if (classlist.length && (classlist.length > 1 || classlist[0] != '*')) {