Upgrade bootstrap class names

This commit is contained in:
Damian Mooyman 2017-08-10 16:35:09 +12:00
parent ac91a4598a
commit bbded44056

View File

@ -132,7 +132,7 @@ class GridFieldAddExistingAutocompleter implements GridField_HTMLProvider, GridF
'addto'
);
$addAction->setAttribute('data-icon', 'chain--plus');
$addAction->addExtraClass('btn btn-secondary-outline font-icon-link action_gridfield_relationadd');
$addAction->addExtraClass('btn btn-outline-secondary font-icon-link action_gridfield_relationadd');
// If an object is not found, disable the action
if (!is_int($gridField->State->GridFieldAddRelation(null))) {