mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Do not show expose thumbnail for single media entry
This commit is contained in:
parent
ed2bed1b97
commit
69fe18d1e0
@ -241,8 +241,6 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM],
|
||||
$span.click(function(e) {
|
||||
if (self.options.expose_view && typeof self.options.mime !='undefined' && self.options.mime.match(/video\/|image\/|audio\//,'ig'))
|
||||
{
|
||||
// Do not show thumbnail indicator for single expose view
|
||||
self.expose_options.thumbnailIndicators = false;
|
||||
self._init_blueimp_gallery(e, href);
|
||||
}
|
||||
else
|
||||
|
@ -161,8 +161,6 @@ var et2_image = expose(et2_baseWidget.extend([et2_IDetachedDOM],
|
||||
{
|
||||
if (self.options.expose_view)
|
||||
{
|
||||
// Do not show thumbnail indicator on single expose view
|
||||
self.expose_options.thumbnailIndicators = false;
|
||||
self._init_blueimp_gallery(e,_value);
|
||||
}
|
||||
else
|
||||
|
@ -431,6 +431,8 @@ function expose (widget)
|
||||
else
|
||||
{
|
||||
mediaContent = this.getMedia(_value);
|
||||
// Do not show thumbnail indicator on single expose view
|
||||
this.expose_options.thumbnailIndicators = false;
|
||||
}
|
||||
this.expose_options.index = current_index;
|
||||
gallery = blueimp.Gallery(mediaContent, this.expose_options);
|
||||
|
Loading…
Reference in New Issue
Block a user