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
|
|
@ -18,7 +18,7 @@ pandora.ui.folderList = function(id, section) {
|
|||
},
|
||||
format: function(value, data) {
|
||||
return $('<img>').attr({
|
||||
src: '/' + folderItem.toLowerCase() + '/' + data.id + '/icon.jpg?' + data.modified
|
||||
src: '/' + folderItem.toLowerCase() + '/' + encodeURI(data.id) + '/icon.jpg?' + data.modified
|
||||
}).css({
|
||||
width: '14px',
|
||||
height: '14px',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue