mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
using !egw.app(appname) to check if user has no run-rights for appname
This commit is contained in:
parent
1a1e0fcffc
commit
dfc5a8222e
@ -336,8 +336,7 @@ et2_register_widget(et2_url_ro, ["url_ro", "url-email_ro", "url-phone_ro"]);
|
||||
|
||||
// Bind a mouseenter event once for every read-only email
|
||||
$j(function() {
|
||||
var addressbook = egw.user('apps').addressbook;
|
||||
if(typeof addressbook == 'undefined' || !addressbook.enabled) return;
|
||||
if(!egw.app('addressbook')) return;
|
||||
|
||||
$j('body').on('mouseenter', 'a.et2_email', function() {
|
||||
$j(this).tooltip({
|
||||
|
Loading…
Reference in New Issue
Block a user