Commit 4ddbd713 authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Fix bad call to undefined getTabCatcherElement

Change-Id: Icb809942d9a029cde27c2a773c5b63eb801029af
parent a4002458
...@@ -1047,7 +1047,7 @@ Blockly.Blocks.component_set_get = { ...@@ -1047,7 +1047,7 @@ Blockly.Blocks.component_set_get = {
thisBlock.propertyObject = thisBlock.getPropertyObject(selection); thisBlock.propertyObject = thisBlock.getPropertyObject(selection);
thisBlock.setTypeCheck(); thisBlock.setTypeCheck();
if (thisBlock.propertyName) { if (thisBlock.propertyName) {
thisBlock.setTooltip(componentDb.getInternationalizedPropertyDescription(thisBlock.getTabCatcherElement(), thisBlock.setTooltip(componentDb.getInternationalizedPropertyDescription(thisBlock.getTypeName(),
thisBlock.propertyName, thisBlock.propertyObject.description)); thisBlock.propertyName, thisBlock.propertyObject.description));
} else { } else {
thisBlock.setTooltip(Blockly.Msg.UNDEFINED_BLOCK_TOOLTIP); thisBlock.setTooltip(Blockly.Msg.UNDEFINED_BLOCK_TOOLTIP);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment