diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js index 5712ab0ea5..c23637f43b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js @@ -40,17 +40,18 @@ function openAuth(tagsubfieldid,authtype,source) { var tagsubfield=getTagInputnameFilter(tagsubfieldid); var elementsubfcode=getSubfieldCode(element.name); var mainmainstring=element.value; - var mainstring=""; + var mainstring = new Array(); var inputs = element.parentNode.parentNode.getElementsByTagName("input"); for (var myindex =0; myindex