mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix url for expose view thumbnails
This commit is contained in:
parent
33cf3205fa
commit
9bd80cdfc4
@ -337,7 +337,7 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
title: _value.name,
|
title: _value.name,
|
||||||
href: base_url + _value.download_url,
|
href: base_url + _value.download_url,
|
||||||
type: _value.mime,
|
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;
|
return mediaContent;
|
||||||
|
Loading…
Reference in New Issue
Block a user