From 9e11acda497e9a63d1c613c3a1128e8f9f1f70bb Mon Sep 17 00:00:00 2001 From: Sean Lip Date: Fri, 22 Jul 2016 17:38:47 -0700 Subject: [PATCH] Fix ids for field blocks. --- accessible/workspace-tree.component.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/accessible/workspace-tree.component.js b/accessible/workspace-tree.component.js index f0dd60916..7d5ac4486 100644 --- a/accessible/workspace-tree.component.js +++ b/accessible/workspace-tree.component.js @@ -63,10 +63,13 @@ blocklyApp.WorkspaceTreeComponent = ng.core
    -
  1. -
  2. @@ -291,6 +294,9 @@ blocklyApp.WorkspaceTreeComponent = ng.core this.actionButtonsInfo.forEach(function(buttonInfo) { that.idKeys.push(buttonInfo.baseIdKey, buttonInfo.baseIdKey + 'Button'); }); + this.fieldButtonsInfo.forEach(function(buttonInfo) { + that.idKeys.push(buttonInfo.baseIdKey, buttonInfo.baseIdKey + 'Button'); + }); for (var i = 0; i < this.block.inputList.length; i++) { var inputBlock = this.block.inputList[i]; if (inputBlock.connection && !inputBlock.connection.targetBlock()) {