diff --git a/js/app/controllers/EpnTapModule.js b/js/app/controllers/EpnTapModule.js index 73303ae..f8519f0 100644 --- a/js/app/controllers/EpnTapModule.js +++ b/js/app/controllers/EpnTapModule.js @@ -68,10 +68,12 @@ Ext.define('amdaDesktop.EpnTapModule', { *** Service filter events *** ****************************/ + /** + Trigerred after the a click on the "Display EPN-TAP service" item from the an AMDA tree contextual menu. + */ createWindow: function (icon_id) { this.callParent(); - this.epnTapPanel.setSize(800, 600); - + Ext.getCmp('epntap-win').setSize(800, 600); var icons_dic = { 'icon-mercury': ['ts', 'planet', 'mercury'], 'icon-venus': ['ts', 'planet', 'venus'], @@ -177,7 +179,8 @@ Ext.define('amdaDesktop.EpnTapModule', { this.targetClassCB.disable(); this.targetClassCB.select(this.targetClassCB.getStore().getAt(0)['internalId']); } else { - this.targetClassCB.getStore().add({'id': 'all', 'name': this.allPrettify(productTypeDict[this.productTypeCB.value])}); + // this.targetClassCB.getStore().add({'id': 'all', 'name': this.allPrettify(productTypeDict[this.productTypeCB.value])}); + this.targetClassCB.getStore().add({'id': 'all', 'name': 'All'}); for (var i = 0; i < targetClasses.length; i++) { this.targetClassCB.getStore().add({'id': targetClasses[i], 'name': this.prettify(targetClasses[i])}); } diff --git a/js/app/views/EpnTapUI.js b/js/app/views/EpnTapUI.js index 462d70a..70f8695 100644 --- a/js/app/views/EpnTapUI.js +++ b/js/app/views/EpnTapUI.js @@ -732,7 +732,11 @@ Ext.define('amdaUI.EpnTapUI', { createServiceFilterPanel(), createGridsPanel(), createInfoPanel() - ] + ], + listeners: { + 'beforerender': function(me) { Ext.getCmp('epntap-win').setPosition(100, 100);} + } + }; Ext.apply(this, Ext.apply(arguments, myConf)); } -- libgit2 0.21.2