mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Et2Description: Fix urls from activateLinks did not open properly
This commit is contained in:
parent
cc1d79dd74
commit
24bb8ffebf
@ -222,10 +222,18 @@ export class Et2Description extends Et2Widget(LitElement) implements et2_IDetach
|
||||
|
||||
if(this.mimeData || this.href)
|
||||
{
|
||||
|
||||
egw(window).open_link(this.mimeData || this.href, this.extraLinkTarget, this.extraLinkPopup, null, null, this.mime);
|
||||
_ev.preventDefault();
|
||||
return false;
|
||||
}
|
||||
_ev.preventDefault();
|
||||
return false;
|
||||
else if(_ev.target.nodeName !== "A")
|
||||
{
|
||||
// If it's not an activated link, just stop
|
||||
_ev.preventDefault();
|
||||
return false;
|
||||
}
|
||||
// Let links (present if activateLinks = true) do their thing normally
|
||||
}
|
||||
|
||||
protected wrapLink(href, value)
|
||||
|
Loading…
Reference in New Issue
Block a user