From 0c75664b061ff34e94e06200e9804b24443b0e86 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini <16690124+samelhusseini@users.noreply.github.com> Date: Mon, 29 Jul 2019 10:58:38 -0700 Subject: [PATCH] Fix IE flyout button callback (#2719) --- core/flyout_button.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/flyout_button.js b/core/flyout_button.js index 6f8985b31..de37fe864 100644 --- a/core/flyout_button.js +++ b/core/flyout_button.js @@ -79,7 +79,9 @@ Blockly.FlyoutButton = function(workspace, targetWorkspace, xml, isLabel) { * @type {string} * @private */ - this.callbackKey_ = xml.getAttribute('callbackKey'); + this.callbackKey_ = xml.getAttribute('callbackKey') + /* Check the lower case version too to satisfy IE */ + || xml.getAttribute('callbackkey'); /** * If specified, a CSS class to add to this button.