Fix Add distribution list action opening new tab

This commit is contained in:
Nathan Gray 2013-06-10 19:47:09 +00:00
parent e5b91c72f2
commit c93b1d7080
2 changed files with 6 additions and 1 deletions

View File

@ -506,6 +506,11 @@ class addressbook_ui extends addressbook_bo
'fieldValue' => '!', // enable if list != '' 'fieldValue' => '!', // enable if list != ''
), ),
); );
if(is_subclass_of('etemplate', 'etemplate_new'))
{
$actions['lists']['children']['remove_from_list']['fieldId'] = 'filter2';
$actions['lists']['children']['delete_list']['fieldId'] = 'filter2';
}
} }
// move to AB // move to AB
if (($move2addressbooks = $this->get_addressbooks(EGW_ACL_ADD))) // do we have addressbooks, we should if (($move2addressbooks = $this->get_addressbooks(EGW_ACL_ADD))) // do we have addressbooks, we should

View File

@ -185,6 +185,6 @@ function add_new_list(owner)
'menuaction': 'addressbook.addressbook_ui.index', 'menuaction': 'addressbook.addressbook_ui.index',
'add_list': name, 'add_list': name,
'owner': owner 'owner': owner
})); }), '_self');
} }
} }