Fix url for expose view thumbnails

This commit is contained in:
Hadi Nategh 2015-01-21 11:15:59 +00:00
parent 33cf3205fa
commit 9bd80cdfc4

View File

@ -337,7 +337,7 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM],
title: _value.name,
href: base_url + _value.download_url,
type: _value.mime,
thumbnail: _value.path && _value.mime ? egw(window).window.location.origin + this.egw().mime_icon(_value['mime'], _value['path']) : this.image.attr('src')
thumbnail: _value.path && _value.mime ? this.egw().mime_icon(_value['mime'], _value['path']) : this.image.attr('src')
}];
}
return mediaContent;