From 02fbe1ef417197ca8fd29bae0667ab128b667147 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 28 Oct 2014 19:11:10 +0000 Subject: [PATCH] Fix rename list placeholder action --- addressbook/inc/class.addressbook_ui.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index d43b67f7e1..6b54253404 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -253,7 +253,8 @@ class addressbook_ui extends addressbook_bo // Edit and delete list actions depends on permissions if($this->get_lists(EGW_ACL_EDIT)) { - $content['nm']['placeholder_actions']+= array('rename_list','delete_list'); + $content['nm']['placeholder_actions'][] = 'rename_list'; + $content['nm']['placeholder_actions'][] = 'delete_list'; } // Search parameter passed in @@ -502,6 +503,7 @@ class addressbook_ui extends addressbook_bo if(is_subclass_of('etemplate', 'etemplate_new')) { $actions['lists']['children']['remove_from_list']['fieldId'] = 'filter2'; + $actions['lists']['children']['rename_list']['fieldId'] = 'filter2'; $actions['lists']['children']['delete_list']['fieldId'] = 'filter2'; } }