mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix wrong tag of private and business email for addEmail function in addressbook
This commit is contained in:
parent
fdbf7505f4
commit
c95c10a145
@ -435,8 +435,8 @@ app.classes.addressbook = AppJS.extend(
|
||||
// Pull data from global cache
|
||||
var data = egw.dataGetUIDdata(selected[i].id) || {data:{}};
|
||||
|
||||
var email_business = data.data[action.parent.children[3].checked ? 'email_business' : ''];
|
||||
var email = data.data[action.parent.children[4].checked ? 'email' : ''];
|
||||
var email_business = data.data[action.parent.children[3].checked ? 'email' : ''];
|
||||
var email = data.data[action.parent.children[4].checked ? 'email_home' : ''];
|
||||
if(email_business)
|
||||
{
|
||||
emails.push(email_business);
|
||||
|
Loading…
Reference in New Issue
Block a user