witten
/
luminotes
Archived
1
0
Fork 0

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:
Dan Helfman 2008-04-15 20:59:27 +00:00
parent 5202629be0
commit ea4ad4c683
1 changed files with 4 additions and 0 deletions

View File

@ -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 )