forked from extern/egroupware
Avoid error when clicking on a link with just title
This commit is contained in:
parent
e6d6c3c270
commit
38e6e353fd
@ -1100,8 +1100,11 @@ var et2_link = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
}
|
||||
this.set_title(this.link, _value.title);
|
||||
var self = this;
|
||||
this.link.unbind()
|
||||
.click( function(){self.egw().open(_value, "", "view",null,_value.app,_value.app);});
|
||||
this.link.unbind();
|
||||
if(_value.id && _value.app)
|
||||
{
|
||||
this.link.click( function(){self.egw().open(_value, "", "view",null,_value.app,_value.app);});
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user