BUG Fix import modal

Fixes https://github.com/silverstripe/silverstripe-admin/issues/251
This commit is contained in:
Damian Mooyman 2017-09-13 12:52:20 +12:00
parent 546b4dedcf
commit f8ef97c167
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,6 @@
namespace SilverStripe\Forms\GridField; namespace SilverStripe\Forms\GridField;
use SilverStripe\Control\Session;
use SilverStripe\Core\Injector\Injectable; use SilverStripe\Core\Injector\Injectable;
use SilverStripe\Forms\Form; use SilverStripe\Forms\Form;
use SilverStripe\View\ArrayData; use SilverStripe\View\ArrayData;

View File

@ -2,12 +2,12 @@
<div class="modal-dialog" role="document"> <div class="modal-dialog" role="document">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<% if $ImportModalTitle %> <% if $ImportModalTitle %>
<h2 class="modal-title">$ImportModalTitle</h2> <h2 class="modal-title">$ImportModalTitle</h2>
<% end_if %> <% end_if %>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<% if $ImportIframe %> <% if $ImportIframe %>