Index: lams_central/web/qb/collectionList.jsp =================================================================== diff -u -rcf4300b8c69fbf72488c91ab3250246c07800701 -rf57eed31e62359f3d9e7fdd0f4af0069ee5ddf63 --- lams_central/web/qb/collectionList.jsp (.../collectionList.jsp) (revision cf4300b8c69fbf72488c91ab3250246c07800701) +++ lams_central/web/qb/collectionList.jsp (.../collectionList.jsp) (revision f57eed31e62359f3d9e7fdd0f4af0069ee5ddf63) @@ -123,7 +123,7 @@ lower = name.toLowerCase(); // check if a collection with same name already exists $('.collection-grid').each(function(){ - if ($(this).data('collectionName').trim().toLowerCase() == lower) { + if (String($(this).data('collectionName')).trim().toLowerCase() == lower) { alert(''); name = null; return false;