PMCORE-1123
This commit is contained in:
@@ -509,7 +509,7 @@ Ext.onReady(function(){
|
||||
iconCls: 'button_menu_ext ICON_RETURN',
|
||||
tooltip: {
|
||||
title:_('ID_RETURN_ADVANCED_SEARCH'),
|
||||
text: _('ID_SHOW_RETURN_ADVANCED_SEARCH')
|
||||
text: _('ID_SHOW_RETURN_ADVANCED_SEARCH')
|
||||
},
|
||||
toggleHandler: function (btn, pressed) {
|
||||
//Force to redirect to advanced search list from any side
|
||||
@@ -1081,11 +1081,12 @@ Ext.onReady(function(){
|
||||
if (data.status == true) {
|
||||
// The case was cancelled
|
||||
parent.notify('', _("ID_CASE_CANCELLED", stringReplace("\\: ", "", _APP_NUM)));
|
||||
parent.updateCasesTree();
|
||||
parent.highlightCasesTree();
|
||||
} else {
|
||||
// The case wasn't cancel
|
||||
parent.notify('', data.msg);
|
||||
}
|
||||
parent.updateCasesTree();
|
||||
} catch (e) {
|
||||
parent.notify('', _('ID_SOMETHING_WRONG'));
|
||||
}
|
||||
@@ -1353,6 +1354,7 @@ Ext.onReady(function(){
|
||||
try {
|
||||
parent.notify('', data.msg);
|
||||
parent.updateCasesTree();
|
||||
parent.highlightCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@@ -1553,6 +1555,7 @@ Ext.onReady(function(){
|
||||
try {
|
||||
parent.notify('PAUSE CASE', req.result.msg);
|
||||
parent.updateCasesTree();
|
||||
parent.highlightCasesTree();
|
||||
}catch (e) {
|
||||
}
|
||||
location.href = urlToRedirectAfterPause;
|
||||
@@ -1592,6 +1595,7 @@ Ext.onReady(function(){
|
||||
try {
|
||||
parent.PMExt.notify(_('ID_UNPAUSE_ACTION'), data.msg);
|
||||
parent.updateCasesTree();
|
||||
parent.highlightCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
@@ -1646,6 +1650,7 @@ Ext.onReady(function(){
|
||||
try {
|
||||
parent.PMExt.notify(_('ID_DELETE_ACTION'), data.msg);
|
||||
parent.updateCasesTree();
|
||||
parent.highlightCasesTree();
|
||||
}
|
||||
catch (e) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user