From 0be6b7f118aa6632839ff2ae1fdbd14ca9033aa1 Mon Sep 17 00:00:00 2001 From: diminator Date: Mon, 24 Aug 2015 11:01:42 +0200 Subject: [PATCH] bug fix loadPiece --- js/components/ascribe_detail/further_details_fileuploader.js | 1 - js/components/ascribe_detail/piece_container.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/components/ascribe_detail/further_details_fileuploader.js b/js/components/ascribe_detail/further_details_fileuploader.js index a6eea898..2b04a210 100644 --- a/js/components/ascribe_detail/further_details_fileuploader.js +++ b/js/components/ascribe_detail/further_details_fileuploader.js @@ -30,7 +30,6 @@ let FurtherDetailsFileuploader = React.createClass({ }, render() { - console.log(this.props) // Essentially there a three cases important to the fileuploader // // 1. there is no other_data => do not show the fileuploader at all diff --git a/js/components/ascribe_detail/piece_container.js b/js/components/ascribe_detail/piece_container.js index bb528a56..fe1a6c8a 100644 --- a/js/components/ascribe_detail/piece_container.js +++ b/js/components/ascribe_detail/piece_container.js @@ -160,7 +160,7 @@ let PieceContainer = React.createClass({ pieceOrEditions={ this.state.piece } requestAction={this.state.piece.request_action} requestUser={this.state.piece.user_registered} - handleSuccess={this.showNotification}/>); + handleSuccess={this.loadPiece}/>); } else { return (