From a9519c352895f827d83f379291d1ff8f3de3ecb4 Mon Sep 17 00:00:00 2001 From: colymba Date: Sat, 18 Aug 2012 15:44:09 +0300 Subject: [PATCH] update handler link and ToggleFields labels --- code/GridFieldBulkManager_Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/GridFieldBulkManager_Request.php b/code/GridFieldBulkManager_Request.php index e8d4550..b170894 100644 --- a/code/GridFieldBulkManager_Request.php +++ b/code/GridFieldBulkManager_Request.php @@ -54,7 +54,7 @@ class GridFieldBulkManager_Request extends RequestHandler { * @return string */ public function Link($action = null) { - return Controller::join_links($this->gridField->Link(), 'bulkimageupload', $action); + return Controller::join_links($this->gridField->Link(), 'bulkediting', $action); } @@ -113,7 +113,7 @@ class GridFieldBulkManager_Request extends RequestHandler { $recordCMSDataFields = GridFieldBulkEditingHelper::escapeFormFieldsName( $recordCMSDataFields, $id ); $editedRecordList->push( - ToggleCompositeField::create('GFBM_'.$id, '#'.$id, + ToggleCompositeField::create('GFBM_'.$id, '#'.$id.' > '.DataObject::get_by_id($this->gridField->list->dataClass, $id)->getTitle(), array_values($recordCMSDataFields) )->setHeadingLevel(4) );