Set activedescendant correctly on workspace trees.

This commit is contained in:
Sean Lip
2016-07-14 15:52:58 -07:00
parent 85f2ae8761
commit cc6252cc00
2 changed files with 14 additions and 10 deletions

View File

@@ -75,8 +75,8 @@ blocklyApp.WorkspaceComponent = ng.core
clearWorkspace: function() {
this.workspace.clear();
},
getActiveDescId: function(tree) {
return this.treeService.getActiveDescId(tree.id);
getActiveDescId: function(treeId) {
return this.treeService.getActiveDescId(treeId);
},
onWorkspaceToolbarKeypress: function(e) {
this.treeService.onWorkspaceToolbarKeypress(