BUG 6756 "External steps with actions is not working": Solved

there was problem with old code but is fixed a reference to a inexistent variable and a missing $ char
This commit is contained in:
Erik Amaru Ortiz
2011-04-18 15:55:44 -04:00
parent ce1c4cbff8
commit f9345abca8

View File

@@ -183,7 +183,8 @@ class Ajax
$stepTitle = $obj->getExternalStepTitle( $caseStep->getStepUidObj(), $TAS_UID, $caseStep->getStepPosition());
}
if (method_exists($obj, 'getExternalStepAction')) {
$externalStepActions = $obj->getExternalStepAction( $aRow->getStepUidObj(), $aRow->getStepPosition());
$externalStepActions = $obj->getExternalStepAction( $caseStep->getStepUidObj(),
$caseStep->getStepPosition());
}
}
break;
@@ -200,7 +201,7 @@ class Ajax
$childNode->text = $label;
$childNode->iconCls = 'ICON_EXTERNAL_STEP';
$childNode->leaf = true;
$childNode->url = "../cases/cases_Step?TYPE=$stepTypeObj&UID=stepUidObj&POSITION=$stepPosition&ACTION=$action";
$childNode->url = "../cases/cases_Step?TYPE=$stepTypeObj&UID=$stepUidObj&POSITION=$stepPosition&ACTION=$action";
$node->children[] = $childNode;
}