diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-02-25 20:37:51 +0100 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2012-02-25 20:38:22 +0100 |
commit | 8fe5251029c9e3c711660abcb58c7e60f6b88f97 (patch) | |
tree | fbb3797fc8018c6fc1c03dcfaa5619c1ab9c604a /apps/gallery/js | |
parent | 4f627c428eb64fae307ea293e8093e345d742edc (diff) | |
download | nextcloud-server-8fe5251029c9e3c711660abcb58c7e60f6b88f97.tar.gz nextcloud-server-8fe5251029c9e3c711660abcb58c7e60f6b88f97.zip |
unicode chars in gallery name fix
Diffstat (limited to 'apps/gallery/js')
-rw-r--r-- | apps/gallery/js/albums.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gallery/js/albums.js b/apps/gallery/js/albums.js index 987412f28e0..adecd24cc75 100644 --- a/apps/gallery/js/albums.js +++ b/apps/gallery/js/albums.js @@ -54,9 +54,9 @@ Albums={ event.preventDefault(); galleryRemove(event.data.name); }); - $("a.view", local).attr('href','?view='+escape(a.name)); - $('h1',local).text(a.name); - $(".gallery_album_cover", local).attr('title',a.name); + $("a.view", local).attr('href','?view='+decodeURIComponent(escape(a.name))); + $('h1',local).text(decodeURIComponent(escape(a.name))); + $(".gallery_album_cover", local).attr('title',decodeURIComponent(escape(a.name))); $(".gallery_album_cover", local).css('background-repeat', 'no-repeat'); $(".gallery_album_cover", local).css('background-position', '0'); $(".gallery_album_cover", local).css('background-image','url("ajax/galleryOp.php?operation=get_covers&albumname='+escape(a.name)+'")'); |