diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-01 00:25:53 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-01 00:25:53 +0200 |
commit | f88b47745911f06a844fbc3f35a347c679f0339c (patch) | |
tree | 44449668a1a21783bd9b17364ce92c4cefaee68b /apps | |
parent | bd6b38e6383488ab1a84261c63856adac2e215dd (diff) | |
download | nextcloud-server-f88b47745911f06a844fbc3f35a347c679f0339c.tar.gz nextcloud-server-f88b47745911f06a844fbc3f35a347c679f0339c.zip |
fix search results not displaying
Diffstat (limited to 'apps')
-rw-r--r-- | apps/media/js/music.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/js/music.js b/apps/media/js/music.js index 5b77194ebc4..3dee87744fe 100644 --- a/apps/media/js/music.js +++ b/apps/media/js/music.js @@ -21,7 +21,7 @@ $(document).ready(function(){ var data={}; for(var i=0;i<parts.length;i++){ var itemParts=parts[i].split('='); - data[itemParts[0]]=decodeURIComponent(itemParts[1]).replace(/\+/g,' '); + data[itemParts[0]]=itemParts[1].replace(/\+/g,' '); } var media=Collection.find(data.artist,data.album,data.song); var a=row.find('a'); @@ -52,7 +52,7 @@ function getUrlVars(){ { hash = hashes[i].split('='); vars.push(hash[0]); - vars[hash[0]] = decodeURIComponent(hash[1]).replace(/\+/g,' '); + vars[hash[0]] = hash[1].replace(/\+/g,' '); } return vars; } |