Skip to content
Snippets Groups Projects
Commit 76b627c8 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub
Browse files

Merge pull request #468 from LLK/revert-390-feature/variable-creation

Revert "Explicitly create variables in the VM"
parents 81eb1caa d9bae290
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,7 @@ class Blocks extends React.Component {
if (this.props.vm.editingTarget && !this.state.workspaceMetrics[this.props.vm.editingTarget.id]) {
this.onWorkspaceMetricsChange();
}
this.ScratchBlocks.Events.disable();
this.workspace.clear();
......@@ -174,7 +175,6 @@ class Blocks extends React.Component {
}
handlePromptCallback (data) {
this.state.prompt.callback(data);
this.props.vm.createVariable(data);
this.handlePromptClose();
}
handlePromptClose () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment