Commit 2396ac7b136a00e5e2a8792ab8219a437141e170

Authored by Benjamin Renard
1 parent 3ad64fc0

Do not load plot objects at AMDA login

js/app/controllers/ExplorerModule.js
@@ -33,7 +33,7 @@ Ext.define('amdaDesktop.ExplorerModule', { @@ -33,7 +33,7 @@ Ext.define('amdaDesktop.ExplorerModule', {
33 // Object Models 33 // Object Models
34 'amdaModel.Parameter', 34 'amdaModel.Parameter',
35 'amdaModel.Search', 35 'amdaModel.Search',
36 - 'amdaPlotObj.PlotRequestObject', 36 +
37 'amdaModel.Download', 37 'amdaModel.Download',
38 'amdaModel.TimeTable', 38 'amdaModel.TimeTable',
39 'amdaModel.Catalog', 39 'amdaModel.Catalog',
js/app/models/PlotNode.js
@@ -17,7 +17,6 @@ Ext.define('amdaModel.PlotNode', { @@ -17,7 +17,6 @@ Ext.define('amdaModel.PlotNode', {
17 extend: 'amdaModel.ExecutableNode', 17 extend: 'amdaModel.ExecutableNode',
18 18
19 requires: [ 19 requires: [
20 - 'amdaPlotObj.PlotRequestObject'  
21 ], 20 ],
22 21
23 statics: { 22 statics: {
@@ -28,7 +27,7 @@ Ext.define('amdaModel.PlotNode', { @@ -28,7 +27,7 @@ Ext.define('amdaModel.PlotNode', {
28 27
29 this.callParent(arguments); 28 this.callParent(arguments);
30 this.set('moduleId',myDesktopApp.dynamicModules.plot.id); 29 this.set('moduleId',myDesktopApp.dynamicModules.plot.id);
31 - this.set('objectDataModel',amdaPlotObj.PlotRequestObject.$className); 30 + this.set('objectDataModel','amdaPlotObj.PlotRequestObject');
32 this.set('ownerTreeId',amdaUI.ExplorerUI.OPE_TAB.TREE_ID); 31 this.set('ownerTreeId',amdaUI.ExplorerUI.OPE_TAB.TREE_ID);
33 this.set('nodeType',this.self.nodeType); 32 this.set('nodeType',this.self.nodeType);
34 }, 33 },