mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-17 19:38:25 +01:00
fixed 404 Not found caused by appending &thheight=... to mime-icon url
This commit is contained in:
parent
95462626b2
commit
a7c4688e01
@ -334,7 +334,7 @@ var et2_vfsMime = expose(et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
type: 'video/*',
|
type: 'video/*',
|
||||||
sources:[{
|
sources:[{
|
||||||
href: base_url + _value.download_url,
|
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,
|
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 ? 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;
|
return mediaContent;
|
||||||
|
Loading…
Reference in New Issue
Block a user