witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in which a drag-and-dropped note occasionally didn't resize back to its original size.

This commit is contained in:
Dan Helfman 2009-02-12 14:11:54 -08:00
parent 38479d455a
commit a072564573
2 changed files with 4 additions and 0 deletions

2
NEWS
View File

@ -3,6 +3,8 @@
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.
* Fixed a bug in which a drag-and-dropped note occasionally didn't resize back
to its original size.
* Re-fixed a bug in which hiding a focused note could (temporarily) leave an
empty gap at the bottom of the page.

View File

@ -865,6 +865,7 @@ Editor.prototype.drop = function( event ) {
setElementPosition( this.holder, getElementPosition( hover_drop_target ) );
swapDOM( hover_drop_target, this.holder );
removeElement( "note_drag_source_area" );
this.resize();
this.highlight();
signal( this, "moved", this, this.previous_editor(), this.next_editor() );
}
@ -878,6 +879,7 @@ Editor.prototype.drop = function( event ) {
var drag_source_area = getElement( "note_drag_source_area" );
setElementPosition( this.holder, getElementPosition( drag_source_area ) );
removeElement( drag_source_area );
this.resize();
this.highlight();
}
}