mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 21:32:46 +02: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
|
// Now that link is created, get title from server & update
|
||||||
if(!_link_data.title) {
|
if(!_link_data.title) {
|
||||||
this.egw().link_title(_link_data.app, _link_data.id, function(title) {
|
this.egw().link_title(_link_data.app, _link_data.id, function(title) {
|
||||||
|
if (title)
|
||||||
this.removeClass("loading").text(title);
|
this.removeClass("loading").text(title);
|
||||||
|
else
|
||||||
|
this.remove(); // no rights or not found
|
||||||
}, link);
|
}, link);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user