mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
remove links user has no rights to view (were shown as "false" befor)
This commit is contained in:
parent
f4d6234978
commit
e24c721409
@ -1272,7 +1272,10 @@ var et2_link_string = et2_valueWidget.extend([et2_IDetachedDOM],
|
||||
// Now that link is created, get title from server & update
|
||||
if(!_link_data.title) {
|
||||
this.egw().link_title(_link_data.app, _link_data.id, function(title) {
|
||||
this.removeClass("loading").text(title);
|
||||
if (title)
|
||||
this.removeClass("loading").text(title);
|
||||
else
|
||||
this.remove(); // no rights or not found
|
||||
}, link);
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user