Permalink
Browse files

ENHANCEMENT SSF-53 : add gridfield-button-unlink to unlink button tha…

…t removes a member from a group
  • Loading branch information...
1 parent 1de30d5 commit 7331a06cb154dc921864ae6b81582a949c924bc2 @normann normann committed Mar 7, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 forms/gridfield/GridFieldRelationDelete.php
@@ -81,7 +81,8 @@ public function getColumnContent($gridField, $record, $columnName) {
array('RecordID' => $record->ID)
)
->setAttribute('title', _t('GridAction.UnlinkRelation', "Unlink"))
- ->setAttribute('data-icon', 'chain--minus');
+ ->setAttribute('data-icon', 'chain--minus')
+ ->addExtraClass('gridfield-button-unlick');
return $field->Field();
}

0 comments on commit 7331a06

Please sign in to comment.