Small improvements to merge column

This commit is contained in:
Christopher Pitt 2015-04-23 16:50:50 +12:00
parent 5130ed4e28
commit 5c099aa0dc

View File

@ -84,7 +84,7 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
'data-target' => $prefix . '-target-record-' . $record->ID 'data-target' => $prefix . '-target-record-' . $record->ID
)); ));
return $dropdown->Field() . $action->Field() . '<a class="MergeActionReveal">move posts to</a>'; return $dropdown->Field() . $action->Field() . '<a title="Move posts to" class="MergeActionReveal">move posts to</a>';
} }
return null; return null;
@ -101,7 +101,7 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getColumnMetadata($gridField, $columnName) { public function getColumnMetadata($gridField, $columnName) {
return array('title' => 'Move Posts To'); return array('title' => 'Move posts to');
} }
/** /**