From 5b556d03cf5dbda2519dacece522b5866bc8eed5 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 5 Nov 2008 16:13:26 -0800 Subject: [PATCH] Fixed a bug in which autosave did not cause the "notes" and "recent updates" links to rename if necessary. --- static/js/Wiki.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 4247719..2e2643d 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1588,6 +1588,8 @@ Wiki.prototype.save_editor = function ( editor, fire_and_forget, callback, synch var self = this; if ( editor && editor.read_write && !( editor.id == this.blank_editor_id && editor.empty() ) && !editor.closed && editor.dirty() ) { + editor.scrape_title(); + this.invoker.invoke( "/notebooks/save_note", "POST", { "notebook_id": this.notebook_id, "note_id": editor.id,