diff --git a/lib/editor/components/EditorHelpModal.js b/lib/editor/components/EditorHelpModal.js
index d7312a35d..52b1b5f2c 100644
--- a/lib/editor/components/EditorHelpModal.js
+++ b/lib/editor/components/EditorHelpModal.js
@@ -28,8 +28,12 @@ export default class EditorHelpModal extends Component {
loadFeedVersionForEditing({feedSourceId, feedVersionId})
}
- _onClickReload = () => {
- this.props.onComponentMount({})
+ _onClickBeginEditing = () => {
+ const {onComponentMount} = this.props
+ // To begin editing, the GtfsEditor on mount function is called in order to
+ // fetch the base GTFS and perform any other initialization activities (e.g.
+ // to create an exclusive lock to edit the feed).
+ onComponentMount(this.props)
this.close()
}
@@ -55,8 +59,7 @@ export default class EditorHelpModal extends Component {
show={this.state.showModal}
onHide={this.close}
// Prevent closure of modal if there is no snapshot yet
- backdrop={isNewFeed ? 'static' : undefined}
- >
+ backdrop={isNewFeed ? 'static' : undefined}>