Adjustment in the removal of a process. For change in the form of defining process connection

This commit is contained in:
Hector Cortez
2011-03-14 21:34:27 +00:00
parent c6d39a023d
commit 7bd4910651
2 changed files with 3 additions and 1 deletions

View File

@@ -2397,7 +2397,9 @@ class XmlForm_Field_Dropdown extends XmlForm_Field {
{ {
$result = array (); $result = array ();
$r = 1; $r = 1;
if(! isset($owner->modeGrid)) $owner->modeGrid = '';
$this->modeGridDrop = $owner->modeGrid; $this->modeGridDrop = $owner->modeGrid;
$this->mode = $this->modeForGrid; $this->mode = $this->modeForGrid;
foreach ( $values as $v ) { foreach ( $values as $v ) {
$result [] = $this->render ( $v, $owner, '[' . $owner->name . '][' . $r . ']', $onlyValue, $r, $therow ); $result [] = $this->render ( $v, $owner, '[' . $owner->name . '][' . $r . ']', $onlyValue, $r, $therow );

View File

@@ -617,7 +617,7 @@ class processMap {
* i recommend that a more general solution must be achieved to resolve * i recommend that a more general solution must be achieved to resolve
* this issue in every model class, to prevent future problems. * this issue in every model class, to prevent future problems.
* */ * */
$oDbSource->remove($aRow ['DBS_UID']); $oDbSource->remove($aRow ['DBS_UID'], $sProcessUID);
$oDataset->next(); $oDataset->next();
} }
//Delete the supervisors //Delete the supervisors