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:
parent
c5b916885a
commit
c37e35b042
4
NEWS
4
NEWS
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in New Issue