HOR-1696
This commit is contained in:
@@ -208,5 +208,5 @@ if (isset( $_FILES["form"]["name"] ) && count( $_FILES["form"]["name"] ) > 0) {
|
|||||||
|
|
||||||
//go to the next step
|
//go to the next step
|
||||||
$aNextStep = $oCase->getNextSupervisorStep( $_SESSION['PROCESS'], $_SESSION['STEP_POSITION'] );
|
$aNextStep = $oCase->getNextSupervisorStep( $_SESSION['PROCESS'], $_SESSION['STEP_POSITION'] );
|
||||||
G::header( 'location: cases_StepToRevise?DYN_UID=' . $aNextStep['UID'] . '&APP_UID=' . $_SESSION['APPLICATION'] . '&DEL_INDEX=' . $_SESSION['INDEX'] );
|
G::header( 'Location: cases_StepToRevise?type=DYNAFORM&ex=' . $_GET['ex'] . '&PRO_UID=' . $_SESSION['PROCESS'] . '&DYN_UID=' . $aNextStep['UID'] . '&APP_UID=' . $_SESSION['APPLICATION'] . '&position=' . $aNextStep['POSITION'] . '&DEL_INDEX=' . $_SESSION['INDEX'] );
|
||||||
|
die();
|
||||||
@@ -141,6 +141,10 @@ $Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP_LABEL'] = '';
|
|||||||
* date: 16-05-08
|
* date: 16-05-08
|
||||||
* Description: this was added for the additional database connections
|
* Description: this was added for the additional database connections
|
||||||
*/
|
*/
|
||||||
|
if (! isset( $_GET['ex'] )) {
|
||||||
|
$_GET['ex'] = $_GET['position'];
|
||||||
|
}
|
||||||
|
|
||||||
G::LoadClass( 'dbConnections' );
|
G::LoadClass( 'dbConnections' );
|
||||||
$oDbConnections = new dbConnections( $_SESSION['PROCESS'] );
|
$oDbConnections = new dbConnections( $_SESSION['PROCESS'] );
|
||||||
$oDbConnections->loadAdditionalConnections();
|
$oDbConnections->loadAdditionalConnections();
|
||||||
@@ -156,15 +160,11 @@ if ($_GET['DYN_UID'] != '') {
|
|||||||
if ($a->isResponsive()) {
|
if ($a->isResponsive()) {
|
||||||
$a->printEditSupervisor();
|
$a->printEditSupervisor();
|
||||||
}else{
|
}else{
|
||||||
$G_PUBLISH->AddContent( 'dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_GET['DYN_UID'], '', $Fields['APP_DATA'], 'cases_SaveDataSupervisor?UID=' . $_GET['DYN_UID'] );
|
$G_PUBLISH->AddContent( 'dynaform', 'xmlform', $_SESSION['PROCESS'] . '/' . $_GET['DYN_UID'], '', $Fields['APP_DATA'], 'cases_SaveDataSupervisor?UID=' . $_GET['DYN_UID'] . '&ex=' . $_GET['ex']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
G::RenderPage( 'publish', 'blank' );
|
G::RenderPage( 'publish', 'blank' );
|
||||||
|
|
||||||
if (! isset( $_GET['ex'] )) {
|
|
||||||
$_GET['ex'] = $_GET['position'];
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user