Don't set image path in template.
This commit is contained in:
parent
c3779555aa
commit
27a5132b46
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue