mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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
|
// Bind a mouseenter event once for every read-only email
|
||||||
$j(function() {
|
$j(function() {
|
||||||
var addressbook = egw.user('apps').addressbook;
|
if(!egw.app('addressbook')) return;
|
||||||
if(typeof addressbook == 'undefined' || !addressbook.enabled) return;
|
|
||||||
|
|
||||||
$j('body').on('mouseenter', 'a.et2_email', function() {
|
$j('body').on('mouseenter', 'a.et2_email', function() {
|
||||||
$j(this).tooltip({
|
$j(this).tooltip({
|
||||||
|
Loading…
Reference in New Issue
Block a user