Commit 182749323c9d6996173d65839da2380d240ef665

Authored by Laurent BEIGBEDER
1 parent 92b37092
Exists in master

rm#6611: mémorisation des paramètres de requête

Showing 1 changed file with 19 additions and 4 deletions   Show diff stats
ihm/app/controller/Steps/StepsManager.js
... ... @@ -205,6 +205,12 @@ Ext.define('treps.controller.Steps.StepsManager', {
205 205 var me = this;
206 206 var session = treps.model.Session;
207 207  
  208 + //reset all ihm selection recorded values
  209 + session.set('step2_vecs',null);
  210 + session.set('step2_srcFrame',null);
  211 + session.set('step2_dstFrame',null);
  212 +
  213 +
208 214 if ((firstStep.getId() != session.get('stepId')) && (session.get('id') != ''))
209 215 {
210 216 treps.LoadMask.show('Reset operation. Please wait ... ');
... ... @@ -284,11 +290,20 @@ Ext.define('treps.controller.Steps.StepsManager', {
284 290  
285 291 var stepNb = steps.indexOf(step)+1;
286 292 var stepsCount = steps.count();
  293 +
  294 + if(stepNb==1) {
  295 + config = {
  296 + xtype: step.get('panel'),
  297 + title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description')+' '+treps.Constants.UPLD_MAX_FILESIZE
  298 + };
  299 + } else {
  300 + config = {
  301 + xtype: step.get('panel'),
  302 + title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description')
  303 + };
  304 + }
  305 +
287 306  
288   - config = {
289   - xtype: step.get('panel'),
290   - title: 'Step '+stepNb+' / '+stepsCount+' - '+step.get('description')
291   - };
292 307  
293 308  
294 309 var view = this.getApp_central();
... ...