From a8e9894a5ff65453fd9eebff343b0ffda77ed1b7 Mon Sep 17 00:00:00 2001 From: zjuasmn Date: Thu, 8 Mar 2018 14:30:55 +0800 Subject: [PATCH] fix #1713: Card View-> Cancel button navigates user to project page --- .../ProjectStatus/ProjectStatusChangeConfirmation.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx b/src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx index 7dce15331..c7efa726e 100644 --- a/src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx +++ b/src/components/ProjectStatus/ProjectStatusChangeConfirmation.jsx @@ -78,7 +78,10 @@ class ProjectStatusChangeConfirmation extends Component { const { newStatus, onCancel } = this.props this.shouldDropdownUp() return ( -
{ if (input && ! this.wrapper){this.wrapper = input; this.setState({showUp:this.shouldDropdownUp()}) }}}> +
{ if (input && ! this.wrapper){this.wrapper = input; this.setState({showUp:this.shouldDropdownUp()}) }}} + onClick={e => e.stopPropagation()} + >
You are about to { this.titleStatus } the project