From 2396ac7b136a00e5e2a8792ab8219a437141e170 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 17 Sep 2015 11:34:20 +0200 Subject: [PATCH] Do not load plot objects at AMDA login --- js/app/controllers/ExplorerModule.js | 2 +- js/app/models/PlotNode.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/app/controllers/ExplorerModule.js b/js/app/controllers/ExplorerModule.js index db8811b..1d78aa5 100644 --- a/js/app/controllers/ExplorerModule.js +++ b/js/app/controllers/ExplorerModule.js @@ -33,7 +33,7 @@ Ext.define('amdaDesktop.ExplorerModule', { // Object Models 'amdaModel.Parameter', 'amdaModel.Search', - 'amdaPlotObj.PlotRequestObject', + 'amdaModel.Download', 'amdaModel.TimeTable', 'amdaModel.Catalog', diff --git a/js/app/models/PlotNode.js b/js/app/models/PlotNode.js index a4d3b99..f2af813 100644 --- a/js/app/models/PlotNode.js +++ b/js/app/models/PlotNode.js @@ -17,7 +17,6 @@ Ext.define('amdaModel.PlotNode', { extend: 'amdaModel.ExecutableNode', requires: [ - 'amdaPlotObj.PlotRequestObject' ], statics: { @@ -28,7 +27,7 @@ Ext.define('amdaModel.PlotNode', { this.callParent(arguments); this.set('moduleId',myDesktopApp.dynamicModules.plot.id); - this.set('objectDataModel',amdaPlotObj.PlotRequestObject.$className); + this.set('objectDataModel','amdaPlotObj.PlotRequestObject'); this.set('ownerTreeId',amdaUI.ExplorerUI.OPE_TAB.TREE_ID); this.set('nodeType',this.self.nodeType); }, -- libgit2 0.21.2