From 52398d734a87cf15b9e79bfd4919797e9f284d58 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 3 Apr 2018 16:22:34 -0600 Subject: [PATCH] * Addressbook - Fix missing 'Add' action for no results --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 61ee194cbb..16e487cbf1 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -401,7 +401,6 @@ class addressbook_ui extends addressbook_bo 'add' => array( 'caption' => 'Add', 'group' => $group, - 'enableClass' => 'contact_contact', 'hideOnDisabled' => true, 'children' => array( 'new' => array( @@ -414,6 +413,7 @@ class addressbook_ui extends addressbook_bo 'caption' => 'Copy', 'url' => 'menuaction=addressbook.addressbook_ui.edit&makecp=1&contact_id=$id', 'popup' => Link::get_registry('addressbook', 'add_popup'), + 'enableClass' => 'contact_contact', 'allowOnMultiple' => false, 'icon' => 'copy', ),