mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Fix sanitizing name in library creator
This commit is contained in:
parent
f2726653ae
commit
2b0601d741
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user