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:
parent
f2b88441ee
commit
80a0250c95
2
NEWS
2
NEWS
|
@ -2,6 +2,8 @@
|
||||||
* Leading/trailing spaces in note titles are now ignored when making links
|
* 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
|
to such notes. This means that creating a link titled "my note" to a note
|
||||||
called "my note " now works properly.
|
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
|
1.5.1: September 28, 2008
|
||||||
* Implemented CSV exporting, so now you can export all of your notes to a
|
* Implemented CSV exporting, so now you can export all of your notes to a
|
||||||
|
|
|
@ -343,9 +343,8 @@ Wiki.prototype.populate = function ( startup_notes, current_notes, note_read_wri
|
||||||
var export_link = getElement( "export_link" );
|
var export_link = getElement( "export_link" );
|
||||||
if ( export_link ) {
|
if ( export_link ) {
|
||||||
connect( export_link, "onclick", function ( event ) {
|
connect( export_link, "onclick", function ( event ) {
|
||||||
self.save_editor( null, true, function () {
|
self.save_editor( null );
|
||||||
self.export_clicked();
|
self.export_clicked();
|
||||||
} );
|
|
||||||
event.stop();
|
event.stop();
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue