diff --git a/addressbook/js/app.js b/addressbook/js/app.js index 11015993ae..9df5a0130b 100644 --- a/addressbook/js/app.js +++ b/addressbook/js/app.js @@ -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' : '']; - var email = data.data[action.parent.children[4].checked ? 'email_home' : '']; + var email_business = data.data[action.getManager().getActionById('email_business').checked ? 'email' : '']; + var email = data.data[action.getManager().getActionById('email_home').checked ? 'email_home' : '']; if(email_business) { emails.push(email_business);