Archived
1
0

Fixing note highlighting when opening an old revision of a note.

This commit is contained in:
Dan Helfman 2009-01-12 16:24:52 -08:00
parent a6540e6da3
commit 4e31959dfd

View File

@ -362,11 +362,14 @@ Editor.prototype.connect_handlers = function () {
this.exec_command( "insertbronreturn", true ); this.exec_command( "insertbronreturn", true );
} }
if ( this.init_highlight && this.iframe ) if ( this.init_highlight ) {
this.highlight(); this.highlight();
this.init_highlight = false;
}
this.scrape_title(); this.scrape_title();
if ( this.init_focus ) { if ( this.init_focus ) {
this.init_focus = false;
if ( this.iframe ) if ( this.iframe )
this.focus(); this.focus();