encodeURI(listname) before making it part of image URLs
This commit is contained in:
parent
1e10fb5967
commit
ab9172526b
3 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ pandora.ui.folderBrowserList = function(id, section) {
|
|||
clickable: true,
|
||||
format: function(value) {
|
||||
return $('<img>').attr({
|
||||
src: '/list/' + value + '/icon.jpg'
|
||||
src: '/list/' + encodeURI(value) + '/icon.jpg'
|
||||
}).css({
|
||||
width: '14px',
|
||||
height: '14px',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue