summaryrefslogtreecommitdiffstats
path: root/core/js/oc-dialogs.js
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-05-20 09:44:31 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-05-20 09:44:31 +0200
commit27a5132b46df56dae81799e05bfeeaff27f2e4bb (patch)
treec8105ddf8004847d606ad00e9e24431fe83f4695 /core/js/oc-dialogs.js
parentc3779555aa38940cb16790407c71bc852b9bd742 (diff)
downloadnextcloud-server-27a5132b46df56dae81799e05bfeeaff27f2e4bb.tar.gz
nextcloud-server-27a5132b46df56dae81799e05bfeeaff27f2e4bb.zip
Don't set image path in template.
Diffstat (limited to 'core/js/oc-dialogs.js')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index e05b3b0207a..316a99592f5 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -283,10 +283,10 @@ var OCdialogs = {
$li = self.$listTmpl.octemplate({
type: entry.type,
dir: dir,
- imgsrc: entry.mimetype_icon,
filename: entry.name,
date: OC.mtime2date(entry.mtime)
});
+ $li.find('img').attr('src', entry.mimetype_icon);
self.$filelist.append($li);
});