More buttonrama fallout
authoreileen <emcnaughton@wikimedia.org>
Wed, 21 Oct 2020 05:28:00 +0000 (18:28 +1300)
committereileen <emcnaughton@wikimedia.org>
Wed, 21 Oct 2020 20:27:40 +0000 (09:27 +1300)
CRM/Import/Form/DataSource.php

index 90e5cd71c73be5f701872de901335f5069472266..d06d6c56e998eb754e5ae68cc3a719ec2d714493 100644 (file)
@@ -50,7 +50,7 @@ abstract class CRM_Import_Form_DataSource extends CRM_Core_Form {
 
     $this->assign('uploadSize', $uploadSize);
 
-    $this->add('File', 'uploadFile', ts('Import Data File'), 'size=30 maxlength=255', TRUE);
+    $this->add('File', 'uploadFile', ts('Import Data File'), NULL, TRUE);
     $this->setMaxFileSize($uploadFileSize);
     $this->addRule('uploadFile', ts('File size should be less than %1 MBytes (%2 bytes)', [
       1 => $uploadSize,