Bug fix: If you opened the link info box on a link to a deleted note, and then
clicked that link, it wouldn't give you a message about the link being in the trash but would instead just open an empty version of that note.
This commit is contained in:
parent
5202629be0
commit
ea4ad4c683
|
@ -408,6 +408,10 @@ Wiki.prototype.load_editor = function ( note_title, note_id, revision, link, pos
|
|||
pulldown_title = strip( pulldown.title_field.value );
|
||||
if ( pulldown_title )
|
||||
note_title = pulldown_title;
|
||||
|
||||
// only use the pulldown title if it has changed from the note's original title
|
||||
if ( pulldown_title == note_title )
|
||||
pulldown_title = undefined;
|
||||
}
|
||||
|
||||
if ( link.target )
|
||||
|
|
Reference in New Issue