@@ -476,6 +476,8 @@ Ext.onReady(function(){
|
|||||||
|
|
||||||
function newProcess(params)
|
function newProcess(params)
|
||||||
{
|
{
|
||||||
|
if (winDesigner)
|
||||||
|
winDesigner.close();
|
||||||
params = typeof params == 'undefined' ? {type:'classicProject'} : params;
|
params = typeof params == 'undefined' ? {type:'classicProject'} : params;
|
||||||
|
|
||||||
// TODO this variable have hardcoded labels, it must be changed on the future
|
// TODO this variable have hardcoded labels, it must be changed on the future
|
||||||
@@ -589,6 +591,8 @@ function saveProcess()
|
|||||||
"../designer?prj_uid="+resp.result.PRO_UID,
|
"../designer?prj_uid="+resp.result.PRO_UID,
|
||||||
'winDesigner'
|
'winDesigner'
|
||||||
);
|
);
|
||||||
|
Ext.getCmp('newProjectWin').close();
|
||||||
|
processesGrid.store.reload();
|
||||||
} else {
|
} else {
|
||||||
PMExt.error( _('ID_FAILED'), _('PROCESS_ALREADY_OPENED'));
|
PMExt.error( _('ID_FAILED'), _('PROCESS_ALREADY_OPENED'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user