From 446ed311eaa4628e7bbf19d1f9ce81b63f716ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Thu, 19 Nov 2015 17:51:17 +0100 Subject: [PATCH] Fix upload/hashing button in FileDragAndDropDialog --- .../file_drag_and_drop_dialog.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_dialog.js b/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_dialog.js index 66564ff3..25552819 100644 --- a/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_dialog.js +++ b/js/components/ascribe_uploader/ascribe_file_drag_and_drop/file_drag_and_drop_dialog.js @@ -58,8 +58,14 @@ let FileDragAndDropDialog = React.createClass({ return (

{getLangText('Would you rather')}

+ {/* + The frontend in live is hosted under /app, + Since `Link` is appending that base url, if its defined + by itself, we need to make sure to not set it at this point. + Otherwise it will be appended twice. + */} {getLangText('Hash your work')} @@ -69,7 +75,7 @@ let FileDragAndDropDialog = React.createClass({ or {getLangText('Upload and hash your work')}