Commit 0ec9cd65 authored by carlosperate's avatar carlosperate

Fix incorrect type assignment from "prompt" block.

parent 4a642f9d
......@@ -682,7 +682,7 @@ Blockly.Blocks['text_prompt_ext'] = {
},
/** @return {!string} Type of the block, prompt always returns a string. */
getBlockType: function() {
return Blockly.StaticTyping.BlocklyType.TEXT;
return this.getFieldValue('TYPE');
}
};
......
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