joshlory / blockly-cdo

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

Context menus for set/get variable are broken. #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to the code app 
[https://blockly-demo.appspot.com/static/apps/code/index.html].
2. Open the Variables category and drag out "set item to".
3. RIght click on the block.

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

Uncaught TypeError: Cannot call method 'replace' of undefined.

Please use labels and text to provide additional information.

My guess is that this has to do with when contextMenuMsg_ is being set.  
Perhaps it should be inside init?

Original issue reported on code.google.com by sper...@google.com on 2 Oct 2013 at 8:38

GoogleCodeExporter commented 8 years ago
 r1396

Original comment by neil.fra...@gmail.com on 4 Oct 2013 at 11:37