From 1c8ac24127d28ee4b2d05e66a5bbca160d020088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Tue, 16 Jun 2015 09:59:09 +0200 Subject: [PATCH] replace amazon links --- js/components/ascribe_buttons/button_submit_close.js | 4 +++- js/components/ascribe_forms/form_request_action.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_buttons/button_submit_close.js b/js/components/ascribe_buttons/button_submit_close.js index 9f7f56f8..8b054116 100644 --- a/js/components/ascribe_buttons/button_submit_close.js +++ b/js/components/ascribe_buttons/button_submit_close.js @@ -2,6 +2,8 @@ import React from 'react'; +import AppConstants from '../../constants/application_constants'; + let ButtonSubmitOrClose = React.createClass({ propTypes: { submitted: React.PropTypes.bool.isRequired, @@ -13,7 +15,7 @@ let ButtonSubmitOrClose = React.createClass({ if (this.props.submitted){ return (
- +
); } diff --git a/js/components/ascribe_forms/form_request_action.js b/js/components/ascribe_forms/form_request_action.js index 1bc08361..c355460f 100644 --- a/js/components/ascribe_forms/form_request_action.js +++ b/js/components/ascribe_forms/form_request_action.js @@ -7,6 +7,8 @@ import Alert from 'react-bootstrap/lib/Alert'; import apiUrls from '../../constants/api_urls'; import FormMixin from '../../mixins/form_mixin'; +import AppConstants from '../../constants/application_constants'; + let RequestActionForm = React.createClass({ mixins: [FormMixin], @@ -62,7 +64,7 @@ let RequestActionForm = React.createClass({ if (this.state.submitted){ buttons = ( - + ); }