mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
Automatic commit Wed Dec 18 03:00:02 PST 2013
This commit is contained in:
@@ -460,9 +460,9 @@ Blockly.Blocks['text_prompt'] = {
|
||||
this.setColour(160);
|
||||
var dropdown = new Blockly.FieldDropdown(TYPES, function(newOp) {
|
||||
if (newOp == 'NUMBER') {
|
||||
thisBlock.outputConnection.setCheck('Number');
|
||||
thisBlock.changeOutput('Number');
|
||||
} else {
|
||||
thisBlock.outputConnection.setCheck('String');
|
||||
thisBlock.changeOutput('String');
|
||||
}
|
||||
});
|
||||
this.appendDummyInput()
|
||||
|
||||
Reference in New Issue
Block a user