mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
quick fix for tracker links on title open wrong popup
This commit is contained in:
parent
b30f051f04
commit
1805c4a425
@ -234,6 +234,8 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM],
|
|||||||
);
|
);
|
||||||
if(this.options.extra_link_popup || this.options.mime)
|
if(this.options.extra_link_popup || this.options.mime)
|
||||||
{
|
{
|
||||||
|
var href = this.options.href;
|
||||||
|
var mime_data = this.options.mime_data;
|
||||||
var self= this;
|
var self= this;
|
||||||
var $span = this.options.mime_data? jQuery(this.span): jQuery('a',this.span);
|
var $span = this.options.mime_data? jQuery(this.span): jQuery('a',this.span);
|
||||||
$span.click(function(e) {
|
$span.click(function(e) {
|
||||||
@ -241,11 +243,11 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM],
|
|||||||
{
|
{
|
||||||
// Do not show thumbnail indicator for single expose view
|
// Do not show thumbnail indicator for single expose view
|
||||||
self.expose_options.thumbnailIndicators = false;
|
self.expose_options.thumbnailIndicators = false;
|
||||||
self._init_blueimp_gallery(e,self.options.href);
|
self._init_blueimp_gallery(e, href);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
egw(window).open_link(self.options.mime_data || self.options.href, self.options.extra_link_target, self.options.extra_link_popup, null, null, self.options.mime);
|
egw(window).open_link(mime_data || href, self.options.extra_link_target, self.options.extra_link_popup, null, null, self.options.mime);
|
||||||
}
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user