mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Don't do an email address hover in addressbook - they're already a contact if they're in addressbook
This commit is contained in:
parent
e64f6979af
commit
0f94764857
@ -336,9 +336,14 @@ 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() {
|
||||
// If user doesn't have access to addressbook, stop
|
||||
if(!egw.app('addressbook')) return;
|
||||
|
||||
$j('body').on('mouseenter', 'a.et2_email', function() {
|
||||
|
||||
// Disabled for addressbook links - no point, they'd already be a contact
|
||||
if(this.id.indexOf('addressbook-') === 0) return;
|
||||
|
||||
$j(this).tooltip({
|
||||
items: 'a.et2_email',
|
||||
position: {my:"left top", at:"left bottom", collision:"flipfit"},
|
||||
|
Loading…
Reference in New Issue
Block a user