From 4664a488988eb50b315a290211be859ded2157a1 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Wed, 2 Dec 2015 18:18:20 +0100 Subject: [PATCH] Change additional form's button text when not in registration flow --- .../market/market_buttons/market_submit_button.js | 3 ++- .../market_forms/market_additional_data_form.js | 11 +++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/js/components/whitelabel/wallet/components/market/market_buttons/market_submit_button.js b/js/components/whitelabel/wallet/components/market/market_buttons/market_submit_button.js index d75282af..60a071d8 100644 --- a/js/components/whitelabel/wallet/components/market/market_buttons/market_submit_button.js +++ b/js/components/whitelabel/wallet/components/market/market_buttons/market_submit_button.js @@ -129,7 +129,8 @@ let MarketSubmitButton = React.createClass({ handleSuccess={this.handleAdditionalDataSuccess.bind(this, solePieceId)} title={getLangText('Add additional information')}> + pieceId={solePieceId} + submitLabel={getLangText('Continue to consignment')} /> - {getLangText('Register work')} + {submitLabel} );