diff --git a/src/Forms/GridField/GridFieldVersionedState.php b/src/Forms/GridField/GridFieldVersionedState.php index d36a1e0d1..d668cf9b5 100644 --- a/src/Forms/GridField/GridFieldVersionedState.php +++ b/src/Forms/GridField/GridFieldVersionedState.php @@ -82,7 +82,7 @@ class GridFieldVersionedState implements GridField_ColumnProvider $data = array('text' => $data); } $flagContent .= sprintf( - "%s", + " %s", 'status-' . Convert::raw2xml($class), (isset($data['title'])) ? sprintf(' title="%s"', Convert::raw2xml($data['title'])) : '', Convert::raw2xml($data['text']) @@ -101,7 +101,7 @@ class GridFieldVersionedState implements GridField_ColumnProvider */ public function getColumnAttributes($gridField, $record, $columnName) { - return [ 'data-contains-version-state' => true ]; + return []; } /**