mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 21:13:23 +01:00
If link is missing needed information so it won't work, don't look like a link
This commit is contained in:
parent
df98b920cc
commit
5569223e42
@ -1142,10 +1142,15 @@ var et2_link = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
this.link.unbind();
|
||||
if(_value.id && _value.app)
|
||||
{
|
||||
this.link.addClass("et2_link");
|
||||
this.link.click( function(){
|
||||
self.egw().open(_value, "", "view",null,_value.app,_value.app);
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
this.link.removeClass("et2_link");
|
||||
}
|
||||
if(!_value.title) {
|
||||
var self = this;
|
||||
var node = this.link[0];
|
||||
|
Loading…
Reference in New Issue
Block a user