BUG 6250: solved

This commit is contained in:
Erik Amaru Ortiz
2011-02-24 23:11:04 +00:00
parent ef163a4d92
commit 02b81a15e0
6 changed files with 21 additions and 28 deletions

View File

@@ -0,0 +1,4 @@
<script>
if( typeof parent != 'undefined' )
parent.location.href = 'casesListExtJs';
</script>

View File

@@ -141,13 +141,12 @@ try {
} }
//Events - End //Events - End
$aNextStep['PAGE'] = 'casesListExtJs'; $aNextStep['PAGE'] = 'casesListExtJsRedirector';
if( isset($_SESSION['PMDEBUGGER']) && $_SESSION['PMDEBUGGER'] ){ if( isset($_SESSION['PMDEBUGGER']) && $_SESSION['PMDEBUGGER'] ){
$_SESSION['TRIGGER_DEBUG']['BREAKPAGE'] = $aNextStep['PAGE']; $_SESSION['TRIGGER_DEBUG']['BREAKPAGE'] = $aNextStep['PAGE'];
G::header('location: ' . 'cases_Step?' .'breakpoint=triggerdebug'); G::header('location: ' . 'cases_Step?' .'breakpoint=triggerdebug');
} } else {
else { G::header('location: casesListExtJsRedirector');
G::header('location: casesListExtJs');
} }
} }
catch ( Exception $e ){ catch ( Exception $e ){

View File

@@ -1654,9 +1654,8 @@ documentsTab ]
// routine to hide the debug panel if it is open // routine to hide the debug panel if it is open
if (parent.PANEL_EAST_OPEN) { if (parent.PANEL_EAST_OPEN) {
parent.PANEL_EAST_OPEN = false; parent.PANEL_EAST_OPEN = false;
var debugPanel = parent.Ext.getCmp('debugPanel'); parent.Ext.getCmp('debugPanel').hide();
debugPanel.hide(); parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
debugPanel.ownerCt.doLayout();
} }
}); });

View File

@@ -1407,13 +1407,10 @@ var gridForm = new Ext.FormPanel({
//routine to hide the debug panel if it is open //routine to hide the debug panel if it is open
if( typeof parent != 'undefined' ){ if( typeof parent != 'undefined' ){
if( typeof parent.parent != 'undefined' ){ if( parent.PANEL_EAST_OPEN ){
if( parent.parent.PANEL_EAST_OPEN ){ parent.PANEL_EAST_OPEN = false;
parent.parent.PANEL_EAST_OPEN = false; parent.Ext.getCmp('debugPanel').hide();
var debugPanel = parent.parent.Ext.getCmp('debugPanel'); parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
debugPanel.hide();
debugPanel.ownerCt.doLayout();
}
} }
} }

View File

@@ -342,13 +342,10 @@ Ext.onReady(function() {
//routine to hide the debug panel if it is open //routine to hide the debug panel if it is open
if( typeof parent != 'undefined' ){ if( typeof parent != 'undefined' ){
if( typeof parent.parent != 'undefined' ){ if( parent.PANEL_EAST_OPEN ){
if( parent.parent.PANEL_EAST_OPEN ){ parent.PANEL_EAST_OPEN = false;
parent.parent.PANEL_EAST_OPEN = false; parent.Ext.getCmp('debugPanel').hide();
var debugPanel = parent.parent.Ext.getCmp('debugPanel'); parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
debugPanel.hide();
debugPanel.ownerCt.doLayout();
}
} }
} }

View File

@@ -284,13 +284,10 @@ Ext.onReady(function() {
//routine to hide the debug panel if it is open //routine to hide the debug panel if it is open
if( typeof parent != 'undefined' ){ if( typeof parent != 'undefined' ){
if( typeof parent.parent != 'undefined' ){ if( parent.PANEL_EAST_OPEN ){
if( parent.parent.PANEL_EAST_OPEN ){ parent.PANEL_EAST_OPEN = false;
parent.parent.PANEL_EAST_OPEN = false; parent.Ext.getCmp('debugPanel').hide();
var debugPanel = parent.parent.Ext.getCmp('debugPanel'); parent.Ext.getCmp('debugPanel').ownerCt.doLayout();
debugPanel.hide();
debugPanel.ownerCt.doLayout();
}
} }
} }