diff --git a/js/app/controllers/EpnTapModule.js b/js/app/controllers/EpnTapModule.js index f8519f0..6978816 100644 --- a/js/app/controllers/EpnTapModule.js +++ b/js/app/controllers/EpnTapModule.js @@ -69,10 +69,11 @@ Ext.define('amdaDesktop.EpnTapModule', { ****************************/ /** - Trigerred after the a click on the "Display EPN-TAP service" item from the an AMDA tree contextual menu. + Trigerred after the a click on the "Display EPN-TAP service" item from the contextual menu in the tree view. */ createWindow: function (icon_id) { this.callParent(); + Ext.getCmp('epntap-win').setSize(800, 600); var icons_dic = { 'icon-mercury': ['ts', 'planet', 'mercury'], diff --git a/js/app/views/EpnTapUI.js b/js/app/views/EpnTapUI.js index 70f8695..9be4138 100644 --- a/js/app/views/EpnTapUI.js +++ b/js/app/views/EpnTapUI.js @@ -734,7 +734,11 @@ Ext.define('amdaUI.EpnTapUI', { createInfoPanel() ], listeners: { - 'beforerender': function(me) { Ext.getCmp('epntap-win').setPosition(100, 100);} + 'beforerender': function(me) { + if(Ext.getCmp('epntap-win') != null) { + Ext.getCmp('epntap-win').setPosition(100, 100); + } + } } }; -- libgit2 0.21.2