BUG 6250: solved
This commit is contained in:
4
workflow/engine/methods/cases/casesListExtJsRedirector.php
Executable file
4
workflow/engine/methods/cases/casesListExtJsRedirector.php
Executable file
@@ -0,0 +1,4 @@
|
||||
<script>
|
||||
if( typeof parent != 'undefined' )
|
||||
parent.location.href = 'casesListExtJs';
|
||||
</script>
|
||||
@@ -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 ){
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
});
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user