Fix sanitizing name in library creator

This commit is contained in:
Bill Thornton 2023-04-19 08:32:53 -04:00
parent f2726653ae
commit 2b0601d741

View File

@ -86,7 +86,9 @@ function initEditor(page, collectionTypeOptions) {
const index = this.selectedIndex;
if (index != -1) {
const name = this.options[index].innerHTML.replace('*', '').replace('&', '&');
const name = this.options[index].innerHTML
.replaceAll('*', '')
.replaceAll('&', '&');
$('#txtValue', dlg).val(name);
}
}