From 9bd80cdfc4b465819b2d088ec16682f8657e86e9 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 21 Jan 2015 11:15:59 +0000 Subject: [PATCH] Fix url for expose view thumbnails --- etemplate/js/et2_widget_vfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_vfs.js b/etemplate/js/et2_widget_vfs.js index b3bfcab827..9310efd11a 100644 --- a/etemplate/js/et2_widget_vfs.js +++ b/etemplate/js/et2_widget_vfs.js @@ -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;