From d97b219c2d6237bc9d9aa788032b30f56bf65bc1 Mon Sep 17 00:00:00 2001 From: diminator Date: Wed, 15 Jul 2015 01:35:12 +0200 Subject: [PATCH] licenses --- js/components/ascribe_accordion_list/accordion_list_item.js | 2 +- js/components/ascribe_forms/form_submit_to_prize.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/components/ascribe_accordion_list/accordion_list_item.js b/js/components/ascribe_accordion_list/accordion_list_item.js index 7b0a536a..875fe512 100644 --- a/js/components/ascribe_accordion_list/accordion_list_item.js +++ b/js/components/ascribe_accordion_list/accordion_list_item.js @@ -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); }, diff --git a/js/components/ascribe_forms/form_submit_to_prize.js b/js/components/ascribe_forms/form_submit_to_prize.js index c74bbf79..7f991af3 100644 --- a/js/components/ascribe_forms/form_submit_to_prize.js +++ b/js/components/ascribe_forms/form_submit_to_prize.js @@ -30,7 +30,6 @@ let PieceSubmitToPrizeForm = React.createClass({