mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix click handler does not work always for images with href attribute
This commit is contained in:
parent
6abaf60a22
commit
809ad4a678
@ -157,11 +157,12 @@ var et2_image = expose(et2_baseWidget.extend([et2_IDetachedDOM],
|
|||||||
var popup = this.options.extra_link_popup;
|
var popup = this.options.extra_link_popup;
|
||||||
var target = this.options.extra_link_target;
|
var target = this.options.extra_link_target;
|
||||||
var self = this;
|
var self = this;
|
||||||
this.image.parent().click(function(e)
|
this.image.click(function(e)
|
||||||
{
|
{
|
||||||
if (self.options.expose_view)
|
if (self.options.expose_view)
|
||||||
{
|
{
|
||||||
self._init_blueimp_gallery(e,_value);
|
self._init_blueimp_gallery(e,_value);
|
||||||
|
e.stopImmediatePropagation();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user