Fix to the selfservice open case ajax action
This commit is contained in:
@@ -55,9 +55,9 @@ class Ajax
|
|||||||
G::LoadClass('pmScript');
|
G::LoadClass('pmScript');
|
||||||
G::LoadClass('case');
|
G::LoadClass('case');
|
||||||
|
|
||||||
$PRO_UID = $_SESSION['PROCESS'];
|
$PRO_UID = isset($_SESSION['PROCESS'])?$_SESSION['PROCESS']:'';
|
||||||
$TAS_UID = $_SESSION['TASK'];
|
$TAS_UID = isset($_SESSION['TASK'])?$_SESSION['TASK']:'';
|
||||||
$APP_UID = $_SESSION['APPLICATION'];
|
$APP_UID = isset($_SESSION['APPLICATION'])?$_SESSION['APPLICATION']:'';
|
||||||
$tree = Array();
|
$tree = Array();
|
||||||
$case = new Cases;
|
$case = new Cases;
|
||||||
$step = new Step;
|
$step = new Step;
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Ext.onReady(function(){
|
|||||||
Ext.QuickTips.init();
|
Ext.QuickTips.init();
|
||||||
showCaseNavigatorPanel = function(steps, information, action) {
|
showCaseNavigatorPanel = function(steps, information, action) {
|
||||||
|
|
||||||
if(steps==false&&action==false){
|
if(steps==false&&action==false&&typeof(treeToReviseTitle)!='undefined'){
|
||||||
var treeToRevise = new Ext.tree.TreePanel({
|
var treeToRevise = new Ext.tree.TreePanel({
|
||||||
title: treeToReviseTitle,
|
title: treeToReviseTitle,
|
||||||
width: 250,
|
width: 250,
|
||||||
|
|||||||
Reference in New Issue
Block a user