From 182749323c9d6996173d65839da2380d240ef665 Mon Sep 17 00:00:00 2001 From: Laurent BEIGBEDER Date: Thu, 31 Oct 2019 15:42:11 +0100 Subject: [PATCH] rm#6611: mémorisation des paramètres de requête --- ihm/app/controller/Steps/StepsManager.js | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) 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