1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 21:52:08 +02:00
This commit is contained in:
diminator 2015-07-15 01:35:12 +02:00
parent e1af4c615f
commit d97b219c2d
2 changed files with 1 additions and 2 deletions

View File

@ -82,7 +82,7 @@ let AccordionListItem = React.createClass({
handleSubmitPrizeSuccess(response) {
PieceListActions.fetchPieceList(this.state.page, this.state.pageSize, this.state.search, this.state.orderBy, this.state.orderAsc);
let notification = new GlobalNotificationModel(response.message, 'success', 10000);
let notification = new GlobalNotificationModel(response.notification, 'success', 10000);
GlobalNotificationActions.appendGlobalNotification(notification);
},

View File

@ -30,7 +30,6 @@ let PieceSubmitToPrizeForm = React.createClass({
<Form
ref='form'
url={requests.prepareUrl(ApiUrls.piece_submit_to_prize, {piece_id: this.props.piece.id})}
getFormData={this.getFormData}
handleSuccess={this.props.handleSuccess}
buttons={
<div className="modal-footer">