witten
/
luminotes
Archived
1
0
Fork 0

Creating a new iframe (where this is no static div) now works again.

This commit is contained in:
Dan Helfman 2009-01-09 13:17:33 -08:00
parent 4f5825c862
commit f36d6b9500
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,6 @@ Editor.prototype.create_iframe = function ( position_after ) {
this.div = null;
} else {
// TODO: rewrite this portion of the function as above
this.create_note_controls();
this.connect_note_controls();
@ -189,6 +188,8 @@ Editor.prototype.create_iframe = function ( position_after ) {
appendChildNodes( "notes", note_holder );
this.set_iframe_contents( this.contents() );
this.resize();
removeElementClass( this.iframe, "invisible" );
this.enable_design_mode();
}