Skip to content
Permalink
Browse files

Removed gsu_survey_pdf by accident.

  • Loading branch information...
mennodekker committed Jun 12, 2019
1 parent 23e059a commit 2c62523669e2080dd700e9574c1fdfface79afd7
Showing with 11 additions and 1 deletion.
  1. +11 −1 classes/Gems/Model/SurveyMaintenanceModel.php
@@ -277,7 +277,17 @@ public function applyEditSettings($create = false, $surveyId = null)
'elementClass', 'ToggleCheckboxes',
'selectorName', 'gsu_insert_organizations',
'order', $order
);
);
$this->set('gsu_survey_pdf', 'label', 'Pdf',
'accept', 'application/pdf',
'destination', $this->loader->getPdf()->getUploadDir('survey_pdfs'),
'elementClass', 'File',
'extension', 'pdf',
'filename', $surveyId,
'required', false,
'validators[pdf]', new \MUtil_Validate_Pdf()
);
return $this;
}

0 comments on commit 2c62523

Please sign in to comment.
You can’t perform that action at this time.