BUG 11223 "Pause case. Al pausar un caso el popup muestra..." SOLVED

- The create an new case and pause not show the number case
- Solved problem, the case number is shown when you pause the case
* Available from version ProcessMaker-2.5
This commit is contained in:
Victor Saisa Lopez
2013-04-09 16:35:58 -04:00
parent 7c17923471
commit 44e87b7f28

View File

@@ -542,7 +542,7 @@ Ext.onReady(function(){
params : {action : 'cancelCase', NOTE_REASON: noteReasonTxt, NOTIFY_PAUSE: notifyReasonVal}, params : {action : 'cancelCase', NOTE_REASON: noteReasonTxt, NOTIFY_PAUSE: notifyReasonVal},
success: function ( result, request ) { success: function ( result, request ) {
try { try {
parent.notify('', 'The case ' + parent._CASE_TITLE + ' was cancelled!'); parent.notify("", _("ID_CASE_CANCELLED", stringReplace("\\: ", "", _APP_NUM)));
} }
catch (e) { catch (e) {
} }
@@ -693,8 +693,8 @@ Ext.onReady(function(){
style: 'font-weight: bold' style: 'font-weight: bold'
}, },
items : [ items : [
{fieldLabel: 'Case', text: parent._CASE_TITLE}, {fieldLabel: _("ID_CASE"), text: stringReplace("\\: ", "", _APP_NUM)},
{fieldLabel: 'Pause Date', text: _ENV_CURRENT_DATE}, {fieldLabel: _("ID_PAUSE_DATE"), text: _ENV_CURRENT_DATE},
new Ext.form.DateField({ new Ext.form.DateField({
id: 'unpauseDate', id: 'unpauseDate',
format: 'Y-m-d', format: 'Y-m-d',
@@ -794,7 +794,7 @@ Ext.onReady(function(){
NOTE_REASON: noteReasonTxt, NOTE_REASON: noteReasonTxt,
NOTIFY_PAUSE: notifyReasonVal NOTIFY_PAUSE: notifyReasonVal
}, },
waitMsg: _('ID_PAUSING_CASE')+parent._CASE_TITLE+'...', waitMsg: _("ID_PAUSING_CASE") + stringReplace("\\: ", "", _APP_NUM) + "...",
timeout : 36000, timeout : 36000,
success : function(res, req) { success : function(res, req) {
if(req.result.success) { if(req.result.success) {