Don't set image path in template.

This commit is contained in:
Thomas Tanghus 2013-05-20 09:44:31 +02:00
parent c3779555aa
commit 27a5132b46
2 changed files with 2 additions and 2 deletions

View file

@ -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);
});

View file

@ -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>