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
$aNextStep['PAGE'] = 'casesListExtJs';
$aNextStep['PAGE'] = 'casesListExtJsRedirector';
if( isset($_SESSION['PMDEBUGGER']) && $_SESSION['PMDEBUGGER'] ){
$_SESSION['TRIGGER_DEBUG']['BREAKPAGE'] = $aNextStep['PAGE'];
G::header('location: ' . 'cases_Step?' .'breakpoint=triggerdebug');
}
else {
G::header('location: casesListExtJs');
} else {
G::header('location: casesListExtJsRedirector');
}
}
catch ( Exception $e ){

View File

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

View File

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

View File

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

View File

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