witten
/
luminotes
Archived
1
0
Fork 0

Fixed a rare bug in which undeleting a note via "undo" sometimes does not show the undeleted note even if the undelete is successful.

This commit is contained in:
Dan Helfman 2008-08-13 13:34:30 -07:00
parent c5b916885a
commit c37e35b042
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -1,3 +1,7 @@
1.4.26:
* Fixed a rare bug in which undeleting a note via "undo" sometimes does not
show the undeleted note even if the undelete is successful.
1.4.25: August 11, 2008:
* Fixed a bug in which the character encoding of uploaded CSV files was not
properly detected and used to decode the file. Note that this fix

View File

@ -96,7 +96,7 @@ function Editor( id, notebook_id, note_text, deleted_from_id, revision, read_wri
this.hide_button ? this.hide_button : null
);
if ( position_after ) {
if ( position_after && position_after.parentNode ) {
insertSiblingNodesAfter( position_after, this.note_controls );
insertSiblingNodesAfter( this.note_controls, this.iframe );
} else {