Merge pull request #1193 from marisaleung/develop_fixDropdownBug

Fix flyout dropdown bug.
This commit is contained in:
marisaleung
2017-06-26 11:17:56 -07:00
committed by GitHub

View File

@@ -254,6 +254,9 @@ Blockly.Flyout.prototype.init = function(targetWorkspace) {
this.workspace_.getVariableById =
this.targetWorkspace_.getVariableById.bind(this.targetWorkspace_);
this.workspace_.getVariablesOfType =
this.targetWorkspace_.getVariablesOfType.bind(this.targetWorkspace_);
this.workspace_.deleteVariable =
this.targetWorkspace_.deleteVariable.bind(this.targetWorkspace_);