Skip to content
Snippets Groups Projects
Commit 27a5132b authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Don't set image path in template.

parent c3779555
No related branches found
No related tags found
No related merge requests found
......@@ -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);
});
......
......@@ -2,7 +2,7 @@
<span class="dirtree"></span>
<ul class="filelist">
<li data-entryname="{filename}" data-type="{type}">
<img src="{imgsrc}" />
<img />
<span class="filename">{filename}</span>
<span class="date">{date}</span>
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment