]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix another problem of the so-called 'fix-special chars' commit.
authorBrice Maron <brice@bmaron.net>
Sat, 5 Nov 2011 23:39:11 +0000 (00:39 +0100)
committerBrice Maron <brice@bmaron.net>
Sat, 5 Nov 2011 23:39:11 +0000 (00:39 +0100)
files/js/files.js

index 5adf67010b912d045fd61ad69f629215a204efd3..0af2b9285b981ff4f8c2210c610f942e888ff6f0 100644 (file)
@@ -1,7 +1,7 @@
 $(document).ready(function() {
        $('#fileList tr').each(function(){
                //little hack to set unescape filenames in attribute
-               $(this).attr('data-file',unescape($(this).attr('data-file')));
+               $(this).attr('data-file',decodeURI($(this).attr('data-file')));
        });
                
        if($('tr[data-file]').length==0){