Skip to content

Commit

Permalink
BiGCZ: Cancel any pending catalog searches on clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Rottersman committed Aug 2, 2017
1 parent 9c1fecc commit 87ccb91
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mmw/js/src/data_catalog/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ var DataCatalogController = {
dataCatalogResults: null,
dataCatalogActiveResult: null,
});
App.rootView.sidebarRegion.currentView.collection.forEach(
function(catalogModel) {
catalogModel.cancelSearch();
}
);
}
};

Expand Down

0 comments on commit 87ccb91

Please sign in to comment.