fixed 404 Not found caused by appending &thheight=... to mime-icon url

This commit is contained in:
Ralf Becker 2015-01-23 12:40:09 +00:00
parent 95462626b2
commit a7c4688e01

View File

@ -334,7 +334,7 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM],
type: 'video/*',
sources:[{
href: base_url + _value.download_url,
type: _value.mime,
type: _value.mime
}]
}];
}
@ -344,7 +344,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 ? this.egw().mime_icon(_value['mime'], _value['path']) + '&thheight=128' : this.image.attr('src')+ '&thheight=128'
thumbnail: _value.path && _value.mime ? this.egw().mime_icon(_value['mime'], _value['path']) : this.image.attr('src')+ '&thheight=128'
}];
}
return mediaContent;