Merged in paulis/processmaker/PM-1532 (pull request #1821)

I solved the issue PM-1532 informacion de History dynaform
This commit is contained in:
Julio Cesar Laura Avendaño
2015-03-31 16:40:25 -04:00
7 changed files with 23 additions and 23 deletions

View File

@@ -851,7 +851,7 @@ class Ajax
$_POST["DYN_UID"] = $_REQUEST["DYN_UID"];
$G_PUBLISH = new Publisher();
$FieldsHistory = unserialize($_SESSION["HISTORY_DATA"]);
$FieldsHistory = $_SESSION["HISTORY_DATA"];
$Fields["APP_DATA"] = $FieldsHistory[$_POST["HISTORY_ID"]]; //isset($FieldsHistory[$_POST["HISTORY_ID"]])? $FieldsHistory[$_POST["HISTORY_ID"]] : "";
$Fields["APP_DATA"]["__DYNAFORM_OPTIONS"]["PREVIOUS_STEP_LABEL"] = "";
$Fields["APP_DATA"]["__DYNAFORM_OPTIONS"]["NEXT_STEP_LABEL"] = "";

View File

@@ -383,7 +383,7 @@ if ($actionAjax == 'dynaformChangeLogViewHistory') {
global $G_PUBLISH;
$G_PUBLISH = new Publisher();
$FieldsHistory = unserialize( $_SESSION['HISTORY_DATA'] );
$FieldsHistory = $_SESSION['HISTORY_DATA'];
$Fields['APP_DATA'] = $FieldsHistory[$_POST['HISTORY_ID']];
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['PREVIOUS_STEP_LABEL'] = '';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP_LABEL'] = '';

View File

@@ -549,7 +549,7 @@ if ($actionAjax == 'dynaformChangeLogViewHistory') {
global $G_PUBLISH;
$G_PUBLISH = new Publisher();
$FieldsHistory = unserialize( $_SESSION['HISTORY_DATA'] );
$FieldsHistory = $_SESSION['HISTORY_DATA'];
$Fields['APP_DATA'] = $FieldsHistory[$_POST['HISTORY_ID']];
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['PREVIOUS_STEP_LABEL'] = '';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP_LABEL'] = '';

View File

@@ -700,7 +700,7 @@ switch (($_POST['action']) ? $_POST['action'] : $_REQUEST['action']) {
break;
case 'showDynaformHistory':
$G_PUBLISH = new Publisher();
$FieldsHistory = unserialize( $_SESSION['HISTORY_DATA'] );
$FieldsHistory = $_SESSION['HISTORY_DATA'];
$Fields['APP_DATA'] = $FieldsHistory[$_POST['HISTORY_ID']];
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['PREVIOUS_STEP_LABEL'] = '';
$Fields['APP_DATA']['__DYNAFORM_OPTIONS']['NEXT_STEP_LABEL'] = '';