witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in which clicking the "export" link when the current note was unsaved did not open the export pulldown.

This commit is contained in:
Dan Helfman 2008-09-29 23:09:44 -07:00
parent f2b88441ee
commit 80a0250c95
2 changed files with 4 additions and 3 deletions

2
NEWS
View File

@ -2,6 +2,8 @@
* Leading/trailing spaces in note titles are now ignored when making links
to such notes. This means that creating a link titled "my note" to a note
called "my note " now works properly.
* Fixed a bug in which clicking the "export" link when the current note was
unsaved did not open the export pulldown.
1.5.1: September 28, 2008
* Implemented CSV exporting, so now you can export all of your notes to a

View File

@ -343,9 +343,8 @@ Wiki.prototype.populate = function ( startup_notes, current_notes, note_read_wri
var export_link = getElement( "export_link" );
if ( export_link ) {
connect( export_link, "onclick", function ( event ) {
self.save_editor( null, true, function () {
self.export_clicked();
} );
self.save_editor( null );
self.export_clicked();
event.stop();
} );
}