Skip to content
This repository has been archived by the owner on Aug 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #162 from CrossRef/development
Browse files Browse the repository at this point in the history
Merge MM-322/MM-389
  • Loading branch information
MikeYalter authored Sep 19, 2018
2 parents 6bd3fce + 99f8d6f commit 8eb257c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 4 additions & 3 deletions app/components/Publication/transferTitleModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ export default class TransferTitleModal extends React.Component {
toPublisher: this.state.prefixSelection,
email: this.state.publisherSelection.email,
ownerPrefix: this.props.ownerPrefix,
doi: this.props.pubDoi}).catch(e=>{
this.close()
doi: this.props.pubDoi}).then(()=>{
this.props.reduxDeletePublication(this.props.pubDoi)}
).catch(e=>{
this.props.close()
return errorHandler(`Error transfering title ${e.toString()}`, e)
})
this.props.reduxDeletePublication(this.props.pubDoi)
}

this.props.reduxControlModal({
Expand Down
7 changes: 6 additions & 1 deletion deployConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ var presets = {

staging: {
baseUrl: '/mmstaging/',
apiBaseUrl: 'https://apps.crossref.org/mdt-staging',
apiBaseUrl: 'https://apps-staging.crossref.org/mdt',
babelConfig: babelDev
},
develop: {
baseUrl: '/mmstaging/',
apiBaseUrl: 'http://localhost:8080/mdt-staging',
babelConfig: babelDev
}
}
Expand Down

0 comments on commit 8eb257c

Please sign in to comment.