fix 11177 Code editor steals focus on load

This commit is contained in:
Doug Bell 2009-11-23 16:26:58 -06:00
parent 16cfc756ce
commit a1413a95b0
2 changed files with 2 additions and 1 deletions

View file

@ -43,7 +43,7 @@
this._getDoc().getElementsByTagName('head')[0].appendChild(link);
// Highlight the initial value
if ( this.getEditorText() != this.old_text ) {
Lang.later(10, this, this.highlight);
Lang.later(10, this, function () { this.highlight(true) } );
if ( this.status ) {
Lang.later(100, this, this._writeStatus);
}