Merge pull request #203 from assertchris/small-improvements-to-merge-column

Small improvements to merge column
This commit is contained in:
Damian Mooyman 2015-04-23 17:13:03 +12:00
commit 48051024aa

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');
} }
/** /**