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:
Sam Minnee 2007-11-19 01:31:27 +00:00
parent 584481c100
commit cbbdd8c412
2 changed files with 3 additions and 1 deletions

View File

@ -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 ) {

View File

@ -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>