diff --git a/ihm/app/controller/Steps/StepsManager.js b/ihm/app/controller/Steps/StepsManager.js index 4ea7463..aa704e3 100644 --- a/ihm/app/controller/Steps/StepsManager.js +++ b/ihm/app/controller/Steps/StepsManager.js @@ -205,6 +205,12 @@ Ext.define('treps.controller.Steps.StepsManager', { var me = this; var session = treps.model.Session; + //reset all ihm selection recorded values + session.set('step2_vecs',null); + session.set('step2_srcFrame',null); + session.set('step2_dstFrame',null); + + if ((firstStep.getId() != session.get('stepId')) && (session.get('id') != '')) { treps.LoadMask.show('Reset operation. Please wait ... '); @@ -284,11 +290,20 @@ Ext.define('treps.controller.Steps.StepsManager', { var stepNb = steps.indexOf(step)+1; var stepsCount = steps.count(); + + if(stepNb==1) { + config = { + xtype: step.get('panel'), + title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description')+' '+treps.Constants.UPLD_MAX_FILESIZE + }; + } else { + config = { + xtype: step.get('panel'), + title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description') + }; + } + - config = { - xtype: step.get('panel'), - title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description') - }; var view = this.getApp_central(); -- libgit2 0.21.2