mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
no need to generate a link, if there is no content in it, instead of displaying "-missing-"
This commit is contained in:
parent
9330414ebc
commit
2940e57b11
@ -545,7 +545,7 @@ function et2_insertLinkText(_text, _node, _target)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if(s.text) // no need to generate a link, if there is no content in it
|
||||||
{
|
{
|
||||||
if(!s.href)
|
if(!s.href)
|
||||||
{
|
{
|
||||||
@ -554,7 +554,7 @@ function et2_insertLinkText(_text, _node, _target)
|
|||||||
}
|
}
|
||||||
var a = $j(document.createElement("a"))
|
var a = $j(document.createElement("a"))
|
||||||
.attr("href", s.href)
|
.attr("href", s.href)
|
||||||
.text(s.text ? s.text : "-"+egw.lang("missing")+"-");
|
.text(s.text);
|
||||||
|
|
||||||
if (typeof _target != "undefined" && _target && _target != "_self")
|
if (typeof _target != "undefined" && _target && _target != "_self")
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user