Commit 4148147e0ed0336a73e7df89354274bd51ba7e82

Authored by Nathanael Jourdane
1 parent e4785141

bugfix: avoid error when switchin to an other service with less results than the scrollbar value

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
js/app/controllers/EpnTapModule.js
... ... @@ -168,6 +168,7 @@ Ext.define('amdaDesktop.EpnTapModule', {
168 168 Ext.Ajax.abortAll();
169 169  
170 170 if(record.get('nb_results') > 0) {
  171 + this.granulesStore.removeAll();
171 172 this.granulesStore.load({
172 173 params: {'action': 'getGranules'},
173 174 callback: function (records, operation, success) {
... ...