mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +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
0722b0a328
commit
29f84a83f9
@ -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