Fix flyout dropdown bug.

This commit is contained in:
marisaleung
2017-06-26 10:32:55 -07:00
parent 9053dbf9b4
commit fba60bf7a5

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_);