diff --git a/js/app/controllers/EpnTapModule.js b/js/app/controllers/EpnTapModule.js index 04c983f..ab5aa36 100644 --- a/js/app/controllers/EpnTapModule.js +++ b/js/app/controllers/EpnTapModule.js @@ -166,6 +166,7 @@ Ext.define('amdaDesktop.EpnTapModule', { Among other things, updates the `targetClassCB` combobox and the `servicesGrid` table. */ onProductTypeCBChanged: function() { + Ext.getCmp('epnTapGranulesGrid').getStore().removeAll(); this.targetClassCB.getStore().removeAll(); this.targetNameCB.getStore().removeAll(); this.targetNameCB.disable(); @@ -201,6 +202,7 @@ Ext.define('amdaDesktop.EpnTapModule', { Among other things, updates the `targetNameCB` combobox and the `servicesGrid` table. */ onTargetClassCBChanged: function() { + Ext.getCmp('epnTapGranulesGrid').getStore().removeAll(); this.targetNameCB.getStore().removeAll(); if (this.targetClassCB.value == 'all') { @@ -232,6 +234,7 @@ Ext.define('amdaDesktop.EpnTapModule', { Updates the `servicesGrid` table. */ onTargetNameCBChanged: function() { + Ext.getCmp('epnTapGranulesGrid').getStore().removeAll(); this.updateNbResults(); }, -- libgit2 0.21.2