Changeset View
Changeset View
Standalone View
Standalone View
core/units/forms/form_submissions/form_submissions_eh.php
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | |||||
'upload' => 'grid_empty_filter', | 'upload' => 'grid_empty_filter', | ||||
); | ); | ||||
return $mapping[$element_type]; | return $mapping[$element_type]; | ||||
} | } | ||||
protected function OnBuildFormFields(kEvent $event) | protected function OnBuildFormFields(kEvent $event) | ||||
{ | { | ||||
if ( !$this->Application->isWebRequest() ) { | |||||
return; | |||||
} | |||||
$form_id = $this->Application->GetVar('form_id'); | $form_id = $this->Application->GetVar('form_id'); | ||||
if ( !$form_id ) { | if ( !$form_id ) { | ||||
return; | return; | ||||
} | } | ||||
$config = $event->getUnitConfig(); | $config = $event->getUnitConfig(); | ||||
▲ Show 20 Lines • Show All 451 Lines • Show Last 20 Lines |