summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/js/mimetype.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/mimetype.js b/core/js/mimetype.js
index 0d30da26c26..b830e673151 100644
--- a/core/js/mimetype.js
+++ b/core/js/mimetype.js
@@ -91,6 +91,11 @@ OC.MimeType = {
path += icon;
}
}
+ if(OCA.Theming) {
+ path = OC.generateUrl('/apps/theming/image/core/filetypes/');
+ path += OC.MimeType._getFile(mimeType, OC.MimeTypeList.files);
+ gotIcon = true;
+ }
// If we do not yet have an icon fall back to the default
if (gotIcon === null) {