|
@@ -49,7 +49,7 @@ class PopupCreateHtmlDocument extends React.Component {
|
49
|
49
|
handleChangeNewContentName = e => this.setState({newContentName: e.target.value})
|
50
|
50
|
|
51
|
51
|
handleClose = () => GLOBAL_dispatchEvent({
|
52
|
|
- type: 'hide_popupCreateContent',
|
|
52
|
+ type: 'hide_popupCreateContent', // handled by tracim_front:dist/index.html
|
53
|
53
|
data: {
|
54
|
54
|
name: this.state.appName
|
55
|
55
|
}
|
|
@@ -74,7 +74,7 @@ class PopupCreateHtmlDocument extends React.Component {
|
74
|
74
|
this.handleClose()
|
75
|
75
|
|
76
|
76
|
GLOBAL_dispatchEvent({
|
77
|
|
- type: 'openContentUrl',
|
|
77
|
+ type: 'openContentUrl', // handled by tracim_front:src/container/WorkspaceContent.jsx
|
78
|
78
|
data: {
|
79
|
79
|
idWorkspace: jsonSaveNewHtmlDoc.workspace_id,
|
80
|
80
|
contentType: this.state.appName,
|