update handler link and ToggleFields labels

This commit is contained in:
colymba 2012-08-18 15:44:09 +03:00
parent a99034ff2d
commit a9519c3528

View File

@ -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)
);