BUG 9737 atributos HTML "id" con valores duplicados SOLVED

- Unnecesary extra iframe in html template
- Delete unnecesary iframe
This commit is contained in:
Julio Cesar Laura
2012-09-25 01:01:50 -04:00
parent 642978da56
commit 4801ca6380
2 changed files with 8 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ try {
require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php'); require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php');
exit; exit;
} }
/** /**
* these routine is to verify if the case was acceded from advaced search list * these routine is to verify if the case was acceded from advaced search list
*/ */
@@ -107,11 +107,11 @@ try {
$oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC); $oDataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$oDataset->next(); $oDataset->next();
$aData = $oDataset->getRow(); $aData = $oDataset->getRow();
if ( $aData['USR_UID'] != $_SESSION['USER_LOGGED'] && if ( $aData['USR_UID'] != $_SESSION['USER_LOGGED'] &&
$aData['USR_UID'] != "" //distinct "" for selfservice $aData['USR_UID'] != "" //distinct "" for selfservice
) { ) {
//so we show just the resume //so we show just the resume
$_SESSION['alreadyDerivated'] = true; $_SESSION['alreadyDerivated'] = true;
//the case is paused show only the resume //the case is paused show only the resume
@@ -125,7 +125,7 @@ try {
exit; exit;
} }
} }
//proceed and try to open the case //proceed and try to open the case
$oAppDelegation = new AppDelegation(); $oAppDelegation = new AppDelegation();
@@ -139,6 +139,7 @@ try {
$_SESSION['PROCESS'] = $aFields['PRO_UID']; $_SESSION['PROCESS'] = $aFields['PRO_UID'];
$_SESSION['TASK'] = -1; $_SESSION['TASK'] = -1;
$_SESSION['STEP_POSITION'] = 0; $_SESSION['STEP_POSITION'] = 0;
$_SESSION['CURRENT_TASK'] = $aFields['TAS_UID'];
//if the task is in the valid selfservice tasks for this user, then catch the case, else just view the resume //if the task is in the valid selfservice tasks for this user, then catch the case, else just view the resume
if( $oCase->isSelfService($_SESSION['USER_LOGGED'], $aFields['TAS_UID']) ) { if( $oCase->isSelfService($_SESSION['USER_LOGGED'], $aFields['TAS_UID']) ) {
@@ -168,7 +169,7 @@ try {
$aNextStep = $oCase->getNextStep($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION']); $aNextStep = $oCase->getNextStep($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION']);
$sPage = $aNextStep['PAGE']; $sPage = $aNextStep['PAGE'];
G::header('location: ' . $sPage); G::header('location: ' . $sPage);
} else { } else {
//when the case have another user or current user doesnt have rights to this selfservice, //when the case have another user or current user doesnt have rights to this selfservice,
@@ -178,7 +179,7 @@ try {
$_SESSION['INDEX'] = $iDelIndex; $_SESSION['INDEX'] = $iDelIndex;
$_SESSION['PROCESS'] = $aFields['PRO_UID']; $_SESSION['PROCESS'] = $aFields['PRO_UID'];
$_SESSION['TASK'] = -1; $_SESSION['TASK'] = -1;
$Fields = $oCase->loadCase( $_SESSION['APPLICATION'], $_SESSION['INDEX'] ); $Fields = $oCase->loadCase( $_SESSION['APPLICATION'], $_SESSION['INDEX'] );
$_SESSION['CURRENT_TASK'] = $Fields['TAS_UID']; $_SESSION['CURRENT_TASK'] = $Fields['TAS_UID'];
$_SESSION['STEP_POSITION'] = 0; $_SESSION['STEP_POSITION'] = 0;
require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php'); require_once (PATH_METHODS . 'cases' . PATH_SEP . 'cases_Resume.php');

View File

@@ -1,7 +1,6 @@
<div id="west" class="x-hide-display"><div id="tree"></div></div> <div id="west" class="x-hide-display"><div id="tree"></div></div>
<div id="props-panel" class="x-hide-display" style="width:200px;height:200px;overflow:hidden;"></div> <div id="props-panel" class="x-hide-display" style="width:200px;height:200px;overflow:hidden;"></div>
<div id="south" class="x-hide-display"></div> <div id="south" class="x-hide-display"></div>
<iframe name="casesSubFrame" id="casesSubFrame" src ="" width="100%" frameborder="0" height="768">Your browser does not support iframes.</iframe>
<script> <script>
</script> </script>