From fe91cc4f6a080953c22773962aa52c60f5471cd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 15 Jul 2015 17:02:59 +0200 Subject: [PATCH] fix edition refresh after delete --- js/components/ascribe_detail/edition.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index bbb68bb2..5b246e8f 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -80,8 +80,7 @@ let Edition = React.createClass({ handleDeleteSuccess(response) { PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc); - // we don't need to refresh the edition list for a piece here, since its reloaded from - // scatch once you click on show-editions anyway + EditionListActions.refreshEditionList(this.props.edition.parent); EditionListActions.closeAllEditionLists(); EditionListActions.clearAllEditionSelections();