diff --git a/NEWS b/NEWS index 38ed2d2..5f30371 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ 1.6.5: February 12, 2009 - * Fixed a bug in which hiding a focused note could cause the subsequent note - to display incorrectly Internet Explorer. + * Fixed a bug in Internet Explorer in which hiding a focused note could cause + the next note to display incorrectly + * Fixed a bug in Internet Explorer in which opening a note by following a link + didn't display the opened note correctly. * Re-fixed a bug in which hiding a focused note could (temporarily) leave an empty gap at the bottom of the page. diff --git a/static/js/Editor.js b/static/js/Editor.js index ab2764f..139e22a 100644 --- a/static/js/Editor.js +++ b/static/js/Editor.js @@ -122,15 +122,17 @@ Editor.prototype.create_div = function ( position_after ) { this.connect_note_controls(); this.holder = createDOM( "table", { "id": "note_holder_" + this.id, "class": "note_holder" }, - createDOM( "tr", {}, - createDOM( "td", {}, this.note_controls ) - ), - createDOM( "tr", {}, - createDOM( "td", { "width": "100%" }, this.div ), - this.grabber - ), - createDOM( "tr", { "id": "note_shadow_" + this.id, "class": "note_shadow undisplayed" }, - createDOM( "div", { "class": "note_shadow_corner" } ) + createDOM( "tbody", {}, + createDOM( "tr", {}, + createDOM( "td", {}, this.note_controls ) + ), + createDOM( "tr", {}, + createDOM( "td", { "width": "100%" }, this.div ), + this.grabber + ), + createDOM( "tr", { "id": "note_shadow_" + this.id, "class": "note_shadow undisplayed" }, + createDOM( "div", { "class": "note_shadow_corner" } ) + ) ) );