Closed GoogleCodeExporter closed 8 years ago
Hello, could you provide clarification on the nature of this bug. Here are my
steps in an attempt to reproduce the problem:
Go to the playground:
http://blockly-demo.appspot.com/blockly/tests/playground.html
Create a "repeat while" block and place on the otherwise empty canvas.
Execute the following lines on the JavaScript console:
var block = Blockly.mainWorkspace.getTopBlocks()[0];
block.getTitleText('MODE');
block.getTitleValue('MODE');
The getTitleText call returns 'while' (lowercase, which is English) and the
getTitleValue call returns 'WHILE' (uppercase, which is language neutral).
This appears to be correct.
Furthermore, when the block is exported to XML (using the export button on the
left), the result includes:
<title name="MODE">WHILE</title>
Which is the language neutral version.
Deleting the block and importing the block from the same XML (using the import
button on the left), results in a repeat block which has its dropdown showing
"while" in the UI.
All of this appears to be correct. Please clarify steps to demonstrate an
error. Thank you.
Original comment by neil.fra...@gmail.com
on 28 Sep 2012 at 9:40
Sorry about that Neil. A mistake on my end.
Original comment by paulmed...@gmail.com
on 8 Oct 2012 at 12:33
Original issue reported on code.google.com by
paulmed...@gmail.com
on 10 Sep 2012 at 1:09