mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7036 from fullscreeninteractive/wilr-patch-1
Fix ImportButton not opening the modal
This commit is contained in:
commit
6a3c51e072
@ -77,7 +77,7 @@ class GridFieldImportButton implements GridField_HTMLProvider
|
|||||||
null
|
null
|
||||||
);
|
);
|
||||||
$button
|
$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())
|
->setForm($gridField->getForm())
|
||||||
->setAttribute('data-toggle', 'modal')
|
->setAttribute('data-toggle', 'modal')
|
||||||
->setAttribute('aria-controls', $modalID)
|
->setAttribute('aria-controls', $modalID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user