* Addressbook - Fix missing 'Add' action for no results

This commit is contained in:
nathangray 2018-04-03 16:22:34 -06:00
parent 1cb13a1f13
commit 52398d734a

View File

@ -401,7 +401,6 @@ class addressbook_ui extends addressbook_bo
'add' => array( 'add' => array(
'caption' => 'Add', 'caption' => 'Add',
'group' => $group, 'group' => $group,
'enableClass' => 'contact_contact',
'hideOnDisabled' => true, 'hideOnDisabled' => true,
'children' => array( 'children' => array(
'new' => array( 'new' => array(
@ -414,6 +413,7 @@ class addressbook_ui extends addressbook_bo
'caption' => 'Copy', 'caption' => 'Copy',
'url' => 'menuaction=addressbook.addressbook_ui.edit&makecp=1&contact_id=$id', 'url' => 'menuaction=addressbook.addressbook_ui.edit&makecp=1&contact_id=$id',
'popup' => Link::get_registry('addressbook', 'add_popup'), 'popup' => Link::get_registry('addressbook', 'add_popup'),
'enableClass' => 'contact_contact',
'allowOnMultiple' => false, 'allowOnMultiple' => false,
'icon' => 'copy', 'icon' => 'copy',
), ),