forked from extern/egroupware
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
6c0df44d2d
commit
58ea1e3773
@ -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