[Pkg-owncloud-commits] [owncloud] 228/394: fix mimetype icons for new files
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:12:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit 1bbaea5fce5e4eb7f23bc03b546840e069a1ed74
Author: Robin Appelman <icewind at owncloud.com>
Date: Thu Dec 13 22:31:43 2012 +0100
fix mimetype icons for new files
---
apps/files/js/files.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 7b82476..c423da6 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -891,7 +891,7 @@ function getMimeIcon(mime, ready){
if(getMimeIcon.cache[mime]){
ready(getMimeIcon.cache[mime]);
}else{
- $.get( OC.filePath('files','ajax','mimeicon.php')+'&mime='+mime, function(path){
+ $.get( OC.filePath('files','ajax','mimeicon.php'), {mime: mime}, function(path){
getMimeIcon.cache[mime]=path;
ready(getMimeIcon.cache[mime]);
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list