Export to GitHub

blockly - issue #266

If block breaks when click on the star.


Posted on Mar 1, 2015 by Swift Bird

What steps will reproduce the problem? 1. go to: https://blockly-games.appspot.com/pond-basic?lang=en&level=5 or https://blockly-games.appspot.com/bird?lang=en&level=5 2. Add an If block (the kind with the star) 3. Click on the star 4. Try to select "else" or "elseif"

What is the expected output? What do you see instead? I expect the block to add an else or else if segment. I get two kinds of javascript error: 1. https://blockly-games.appspot.com/pond-basic?lang=en&level=5 Uncaught TypeError: Cannot set property '0' of undefined compressed.js:990 I.logic_compare.onchange compressed.js:720 e compressed.js:721 wj compressed.js:722 (anonymous function) 2. https://blockly-games.appspot.com/bird?lang=en&level=5 Uncaught TypeError: Cannot read property 'Ff' of undefined compressed.js:969 Yl compressed.js:967 (anonymous function)

What browser are you using? Chrome Version 40.0.2214.115 m

Please provide any additional information below.

Comment #1

Posted on Mar 1, 2015 by Happy Kangaroo

Fixed. Thanks!

Status: Fixed

Labels:
Type-Defect Priority-Medium