mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 07:39:27 +01:00
Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries
This commit is contained in:
parent
ccfd0599f6
commit
d8374eaa87
@ -394,7 +394,8 @@ function expose (widget)
|
|||||||
if (typeof this.options.expose_view != 'undefined' && this.options.expose_view )
|
if (typeof this.options.expose_view != 'undefined' && this.options.expose_view )
|
||||||
{
|
{
|
||||||
jQuery(this.node).on('click', function(event){
|
jQuery(this.node).on('click', function(event){
|
||||||
self._init_blueimp_gallery(event, _value);
|
// Do not trigger expose view if one of the operator keys are held
|
||||||
|
if (!event.altKey && !event.ctrlKey && !event.shiftKey && !event.metaKey) self._init_blueimp_gallery(event, _value);
|
||||||
}).addClass('et2_clickable');
|
}).addClass('et2_clickable');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user