clever98 / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

If block breaks when click on the star. #266

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by bvn...@gmail.com on 1 Mar 2015 at 4:28

GoogleCodeExporter commented 8 years ago
Fixed.  Thanks!

Original comment by neil.fra...@gmail.com on 1 Mar 2015 at 9:00