renciso218 / blockly

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

Loading XML with a procedure results in JavaScript error #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a procedure block to the block area.
2. Save XML
3. Open up the JavaScript debugger in Chrome
4. Load XML

What is the expected output? What do you see instead?

The expected output of the procedure block is correct. In the debugger, 
however, I see "Uncaught TypeError: Cannot read property 'cat' of null" with 
the offending line being line 186 in blockly/procedures.js of the function 
refreshFlyoutCategory.

What browser are you using?

Chrome 20

Please provide any additional information below.

Original issue reported on code.google.com by mchldu...@gmail.com on 2 Jul 2012 at 5:08

GoogleCodeExporter commented 8 years ago
Fixed.  The toolbox's flyout was neither visible nor invisible at that point in 
the initialization, resulting in confusion in downstream code.

The fix (flyout.js) will be in the next Subversion commit.

Original comment by neil.fra...@gmail.com on 20 Jul 2012 at 4:08