mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
parents-merge 35478 - Fixed bugs with newsletter import (.CSV didn't work if capital letters, no scroll on import form)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@45052 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
584481c100
commit
cbbdd8c412
@ -208,7 +208,7 @@ class RecipientImportField_UploadForm extends Form {
|
||||
}
|
||||
|
||||
function isValidCSV( $file ) {
|
||||
return preg_match( '/.*\.csv$/', $file['name'] ) > 0;
|
||||
return preg_match( '/.*\.csv$/i', $file['name'] ) > 0;
|
||||
}
|
||||
|
||||
function confirm( $data, $form ) {
|
||||
|
@ -13,6 +13,8 @@
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 1em;
|
||||
padding-bottom: 2em;
|
||||
overflow: scroll !important;
|
||||
}
|
||||
</style>
|
||||
<script src="jsparty/prototype.js" type="text/javascript"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user