mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Removed accaptance of FormData object within AjaxLib controllerParameter check
Also adapted JS files to this change. Signed-off-by: cris-technikum <hainberg@technikum-wien.at>
This commit is contained in:
@@ -179,7 +179,8 @@ class requestAnrechnung extends Auth_Controller
|
||||
// Output to AJAX
|
||||
$this->outputJsonSuccess(array(
|
||||
'antragdatum' => (new DateTime())->format('d.m.Y'),
|
||||
'dms_id' => $lastInsert_dms_id
|
||||
'dms_id' => $lastInsert_dms_id,
|
||||
'filename' => $_FILES['uploadfile']['name']
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,6 @@ $this->load->view(
|
||||
<th class="col-xs-5 col-lg-2"><?php echo $this->p->t('anrechnung', 'herkunftDerKenntnisse'); ?></th>
|
||||
<td>
|
||||
<?php echo form_textarea(array(
|
||||
'id' => 'textarea-herkunftKenntnisse',
|
||||
'name' => 'herkunftKenntnisse',
|
||||
'rows' => 1
|
||||
)); ?>
|
||||
@@ -140,11 +139,11 @@ $this->load->view(
|
||||
<th class="col-xs-5 col-lg-2"><?php echo $this->p->t('anrechnung', 'nachweisdokumente'); ?> *</th>
|
||||
<td>
|
||||
<div><?php echo form_upload(array(
|
||||
'id' => 'upload-nachweisdokumente',
|
||||
'name' => 'uploadfile',
|
||||
'accept' => '.pdf',
|
||||
'size' => '50',
|
||||
'required' => 'required'
|
||||
'required' => 'required',
|
||||
'enctype' => "multipart/form-data"
|
||||
)); ?>
|
||||
</div>
|
||||
<a class="pull-right" id="download-nachweisdokumente"></a>
|
||||
|
||||
@@ -24,7 +24,8 @@ $this->load->view(
|
||||
'inBearbeitung',
|
||||
'neu',
|
||||
'maxZeichen',
|
||||
'errorBestaetigungFehlt'
|
||||
'errorBestaetigungFehlt',
|
||||
'systemfehler'
|
||||
),
|
||||
'person' => array(
|
||||
'student',
|
||||
|
||||
Reference in New Issue
Block a user