What steps will reproduce the problem?
1. Clear local HTML5 storage for the dashlet, specifically for the key
javascript.console.script
2. Reload the console page
What is the expected output? What do you see instead?
The console should render the complete UI. Instead it stops with an error
occurring in the loadDemoScript() function, when this is called from onReady().
Please use labels and text to provide additional information.
The error occurs because this.widgets.codeMirror is not instantiated until
later on in the onReady() method. If there is no local stored value for the
current script on line 200 then loadDemoScript() is called before
this.widgets.codeMirror has been instantiated.
Original issue reported on code.google.com by will.abson on 13 Jun 2011 at 10:37
Original issue reported on code.google.com by
will.abson
on 13 Jun 2011 at 10:37