Skip to content

Commit

Permalink
prevent users from cancelling form on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
jannakha committed Aug 14, 2017
1 parent 3406ded commit a24a34b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/PublicationForm/components/PublicationForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default class PublicationForm extends Component {
<RaisedButton
fullWidth
label={txt.cancel}
disabled={this.props.submitting}
onTouchTap={this._showConfirmation} />
</div>
{this.props.formValues.get('rek_display_type') > 0 &&
Expand Down

0 comments on commit a24a34b

Please sign in to comment.