mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +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
|
// Pull data from global cache
|
||||||
var data = egw.dataGetUIDdata(selected[i].id) || {data:{}};
|
var data = egw.dataGetUIDdata(selected[i].id) || {data:{}};
|
||||||
|
|
||||||
var email_business = data.data[action.parent.children[3].checked ? 'email_business' : ''];
|
var email_business = data.data[action.parent.children[3].checked ? 'email' : ''];
|
||||||
var email = data.data[action.parent.children[4].checked ? 'email' : ''];
|
var email = data.data[action.parent.children[4].checked ? 'email_home' : ''];
|
||||||
if(email_business)
|
if(email_business)
|
||||||
{
|
{
|
||||||
emails.push(email_business);
|
emails.push(email_business);
|
||||||
|
Loading…
Reference in New Issue
Block a user