Fix ImportButton not opening the modal

This commit is contained in:
Will Rossiter 2017-06-23 10:10:01 +12:00
parent dd7777321f
commit ad54e7eb30

View File

@ -77,7 +77,7 @@ class GridFieldImportButton implements GridField_HTMLProvider
null
);
$button
->addExtraClass('btn btn-secondary no-ajax font-icon-upload btn--icon-large action_import')
->addExtraClass('btn btn-secondary font-icon-upload btn--icon-large action_import')
->setForm($gridField->getForm())
->setAttribute('data-toggle', 'modal')
->setAttribute('aria-controls', $modalID)