mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Playlist.js: fix playlist names containing "'" wrongly encoded
This commit is contained in:
parent
c3a8a453be
commit
cfc50a5005
@ -95,7 +95,7 @@ var EditPlaylistName = {
|
||||
input = $('edit_playlist_name');
|
||||
var url = '/databases/1/containers/edit?output=xml';
|
||||
url += '&dmap.itemid=' + EditPlaylistName.playlistId;
|
||||
url += '&dmap.itemname=' + input.value.encode();
|
||||
url += '&dmap.itemname=' + encodeURIComponent(input.value);
|
||||
new Ajax.Request(url ,{method: 'get',onComplete:EditPlaylistName.response});
|
||||
var option = EditPlaylistName._getOptionElement();
|
||||
option.text = input.value;
|
||||
|
Loading…
Reference in New Issue
Block a user