PMCORE-1095
This commit is contained in:
@@ -42,6 +42,7 @@ if (isset($_GET['ux'])) {
|
||||
}
|
||||
/*----------------------------------********---------------------------------*/
|
||||
}
|
||||
echo "try {parent.parent.updateCasesTree();} catch(e) {}";
|
||||
?>
|
||||
}
|
||||
</script>
|
||||
@@ -464,6 +464,11 @@ function openCaseA(n){
|
||||
} else {
|
||||
window.location = res.openCase.PAGE;
|
||||
}
|
||||
try {
|
||||
parent.updateCasesTree();
|
||||
} catch (e) {
|
||||
// Nothing to do
|
||||
}
|
||||
}else if (res.lostSession) {
|
||||
Ext.Msg.show({
|
||||
title : TRANSLATIONS.ID_ERROR_CREATING_NEW_CASE, // 'Error creating a new Case',
|
||||
|
||||
@@ -1080,6 +1080,7 @@ Ext.onReady(function(){
|
||||
success: function ( result, request ) {
|
||||
try {
|
||||
parent.notify("", _("ID_CASE_CANCELLED", stringReplace("\\: ", "", _APP_NUM)));
|
||||
parent.updateCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@@ -1346,6 +1347,7 @@ Ext.onReady(function(){
|
||||
if( data.status == 0 ) {
|
||||
try {
|
||||
parent.notify('', data.msg);
|
||||
parent.updateCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@@ -1545,6 +1547,7 @@ Ext.onReady(function(){
|
||||
if(req.result.success) {
|
||||
try {
|
||||
parent.notify('PAUSE CASE', req.result.msg);
|
||||
parent.updateCasesTree();
|
||||
}catch (e) {
|
||||
}
|
||||
location.href = urlToRedirectAfterPause;
|
||||
@@ -1583,6 +1586,7 @@ Ext.onReady(function(){
|
||||
if( data.success ) {
|
||||
try {
|
||||
parent.PMExt.notify(_('ID_UNPAUSE_ACTION'), data.msg);
|
||||
parent.updateCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@@ -1636,6 +1640,7 @@ Ext.onReady(function(){
|
||||
if( data.success ) {
|
||||
try {
|
||||
parent.PMExt.notify(_('ID_DELETE_ACTION'), data.msg);
|
||||
parent.updateCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
|
||||
@@ -2,11 +2,13 @@
|
||||
|
||||
$filter = new InputFilter();
|
||||
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">
|
||||
Processmaker - Debugger (Break Point)
|
||||
<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>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user