PMCORE-1095
This commit is contained in:
@@ -42,6 +42,7 @@ if (isset($_GET['ux'])) {
|
|||||||
}
|
}
|
||||||
/*----------------------------------********---------------------------------*/
|
/*----------------------------------********---------------------------------*/
|
||||||
}
|
}
|
||||||
|
echo "try {parent.parent.updateCasesTree();} catch(e) {}";
|
||||||
?>
|
?>
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -464,6 +464,11 @@ function openCaseA(n){
|
|||||||
} else {
|
} else {
|
||||||
window.location = res.openCase.PAGE;
|
window.location = res.openCase.PAGE;
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
|
parent.updateCasesTree();
|
||||||
|
} catch (e) {
|
||||||
|
// Nothing to do
|
||||||
|
}
|
||||||
}else if (res.lostSession) {
|
}else if (res.lostSession) {
|
||||||
Ext.Msg.show({
|
Ext.Msg.show({
|
||||||
title : TRANSLATIONS.ID_ERROR_CREATING_NEW_CASE, // 'Error creating a new Case',
|
title : TRANSLATIONS.ID_ERROR_CREATING_NEW_CASE, // 'Error creating a new Case',
|
||||||
|
|||||||
@@ -1080,6 +1080,7 @@ Ext.onReady(function(){
|
|||||||
success: function ( result, request ) {
|
success: function ( result, request ) {
|
||||||
try {
|
try {
|
||||||
parent.notify("", _("ID_CASE_CANCELLED", stringReplace("\\: ", "", _APP_NUM)));
|
parent.notify("", _("ID_CASE_CANCELLED", stringReplace("\\: ", "", _APP_NUM)));
|
||||||
|
parent.updateCasesTree();
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
}
|
}
|
||||||
@@ -1346,6 +1347,7 @@ Ext.onReady(function(){
|
|||||||
if( data.status == 0 ) {
|
if( data.status == 0 ) {
|
||||||
try {
|
try {
|
||||||
parent.notify('', data.msg);
|
parent.notify('', data.msg);
|
||||||
|
parent.updateCasesTree();
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
}
|
}
|
||||||
@@ -1545,6 +1547,7 @@ Ext.onReady(function(){
|
|||||||
if(req.result.success) {
|
if(req.result.success) {
|
||||||
try {
|
try {
|
||||||
parent.notify('PAUSE CASE', req.result.msg);
|
parent.notify('PAUSE CASE', req.result.msg);
|
||||||
|
parent.updateCasesTree();
|
||||||
}catch (e) {
|
}catch (e) {
|
||||||
}
|
}
|
||||||
location.href = urlToRedirectAfterPause;
|
location.href = urlToRedirectAfterPause;
|
||||||
@@ -1583,6 +1586,7 @@ Ext.onReady(function(){
|
|||||||
if( data.success ) {
|
if( data.success ) {
|
||||||
try {
|
try {
|
||||||
parent.PMExt.notify(_('ID_UNPAUSE_ACTION'), data.msg);
|
parent.PMExt.notify(_('ID_UNPAUSE_ACTION'), data.msg);
|
||||||
|
parent.updateCasesTree();
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
}
|
}
|
||||||
@@ -1636,6 +1640,7 @@ Ext.onReady(function(){
|
|||||||
if( data.success ) {
|
if( data.success ) {
|
||||||
try {
|
try {
|
||||||
parent.PMExt.notify(_('ID_DELETE_ACTION'), data.msg);
|
parent.PMExt.notify(_('ID_DELETE_ACTION'), data.msg);
|
||||||
|
parent.updateCasesTree();
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
|
|
||||||
$filter = new InputFilter();
|
$filter = new InputFilter();
|
||||||
if (isset($_POST['NextStep'])) {
|
if (isset($_POST['NextStep'])) {
|
||||||
$nextStep = $filter->xssFilterHard($_POST['NextStep'], "url"); ?>
|
$nextStep = $filter->xssFilterHard($_POST['NextStep'], "url");
|
||||||
|
$refresh = $nextStep == 'cases_Step?breakpoint=triggerdebug' ? 'try {parent.parent.updateCasesTree();} catch(e) {}' : '';
|
||||||
|
?>
|
||||||
<div class="ui-widget-header ui-corner-all" width="100%" align="center">
|
<div class="ui-widget-header ui-corner-all" width="100%" align="center">
|
||||||
Processmaker - Debugger (Break Point)
|
Processmaker - Debugger (Break Point)
|
||||||
<input type="button" value="Continue" class="module_app_button___gray"
|
<input type="button" value="Continue" class="module_app_button___gray"
|
||||||
onclick="javascript:location.href='<?php echo $nextStep; ?>'">
|
onclick="javascript:location.href='<?php echo $nextStep; ?>';<?php echo $refresh; ?>">
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user