Commit 2bf065def44bacdf329690ce60e4c13ed2efb9f7

Authored by Elena.Budnik
2 parents 67a09be7 a1313692

Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM

js/app/controllers/AstroImagesModule.js
... ... @@ -17,7 +17,7 @@ Ext.define('amdaDesktop.AstroImagesModule', {
17 17 extend: 'amdaDesktop.AmdaModule',
18 18  
19 19 requires : [
20   - 'amdaUI.HstUI',
  20 +// 'amdaUI.HstUI',
21 21 'amdaUI.APISImagesUI'
22 22 ],
23 23  
... ... @@ -52,11 +52,11 @@ Ext.define('amdaDesktop.AstroImagesModule', {
52 52 title: 'APIS Archive',
53 53 xtype: 'panelAPIS',
54 54 id : 'apisPanel'
55   - },
56   - {
57   - title: 'MAST Archive',
58   - xtype: 'panelHst',
59   - id : 'hstPanel'
  55 +// },
  56 +// {
  57 +// title: 'MAST Archive',
  58 +// xtype: 'panelHst',
  59 +// id : 'hstPanel'
60 60 }
61 61 ]
62 62 }
... ... @@ -64,11 +64,11 @@ Ext.define('amdaDesktop.AstroImagesModule', {
64 64 });
65 65 }
66 66  
67   - var hstPanel = win.queryById('hstPanel');
  67 +// var hstPanel = win.queryById('hstPanel');
68 68 var apisPanel = win.queryById('apisPanel');
69 69  
70 70  
71   - hstPanel.setInterval(startDate,stopDate);
  71 +// hstPanel.setInterval(startDate,stopDate);
72 72 apisPanel.setInterval(startDate,stopDate);
73 73  
74 74 win.on({
... ... @@ -78,8 +78,8 @@ Ext.define('amdaDesktop.AstroImagesModule', {
78 78 {
79 79 win.doLayout();
80 80 var astrotabsUI = win.queryById('astrotabs');
81   - astrotabsUI.setActiveTab(apisPanel);
82   - hstPanel.forceRefresh();
  81 +// astrotabsUI.setActiveTab(apisPanel);
  82 +// hstPanel.forceRefresh();
83 83 apisPanel.forceRefresh();
84 84 },
85 85 scope : this
... ...
js/app/models/InteractiveNode.js
... ... @@ -296,7 +296,7 @@ Ext.define('amdaModel.InteractiveNode', {
296 296 // set ownerTree panel as the active tab - to enable selection of this node his ownerTree must have a view
297 297 this.myGetOwnerTree().ownerCt.setActiveTab(this.myGetOwnerTree());
298 298 }
299   - if(opt.notDisplayMsg){
  299 + if(opt && opt.notDisplayMsg){
300 300 //do nothing
301 301 }else{
302 302 Ext.Msg.alert('Complete', 'New object '+this.get('object').get('name')+' has been created');
... ...