Skip to content

Commit

Permalink
Add orig_formid and orig_rowid to input in form module
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Dec 3, 2018
1 parent ec3a31e commit 8eca22a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/mod_fabrik_form/mod_fabrik_form_boot.php
Expand Up @@ -27,6 +27,9 @@
$origView = $input->get('view');
$origAjax = $input->get('ajax');
$origFormid = $input->getInt('formid');
$input->set('orig_formid', $origFormid);
$origRowid = $input->getInt('rowid');
$input->set('orig_rowid', $origRowid);

FabrikHelperHTML::framework();

Expand Down Expand Up @@ -89,6 +92,7 @@

// Reset the layout and view etc for when the component needs them
$input->set('formid', $origFormid);
$input->set('rowid', $origRowid);
$input->set('ajax', $origAjax);
$input->set('layout', $origLayout);
$input->set('view', $origView);

0 comments on commit 8eca22a

Please sign in to comment.