This commit is contained in:
Roly Rudy Gutierrez Pinto
2015-02-13 15:56:51 -04:00
parent cb1a6b97e5
commit d485b5a3f6

View File

@@ -476,6 +476,8 @@ Ext.onReady(function(){
function newProcess(params)
{
if (winDesigner)
winDesigner.close();
params = typeof params == 'undefined' ? {type:'classicProject'} : params;
// 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,
'_blank'
);
Ext.getCmp('newProjectWin').close();
processesGrid.store.reload();
} else {
PMExt.error( _('ID_FAILED'), _('PROCESS_ALREADY_OPENED'));
}