From fba60bf7a5f27293fa693a61e6b5979c118cc090 Mon Sep 17 00:00:00 2001 From: marisaleung Date: Mon, 26 Jun 2017 10:32:55 -0700 Subject: [PATCH] Fix flyout dropdown bug. --- core/flyout_base.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/flyout_base.js b/core/flyout_base.js index d44adc853..18e99d88e 100644 --- a/core/flyout_base.js +++ b/core/flyout_base.js @@ -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_);