diff --git a/NEWS b/NEWS
index 293a4e6..7b0d6a6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+1.4.13: July 11, 2008:
+ * New "revert" button to roll back a note's contents to an earlier revision.
+
1.4.12: July 7, 2008:
* Fixed a bug in which tab/shift-tab for indending/outdenting nested lists
no longer worked. Also made it work in IE as well (which it never has).
diff --git a/static/js/Wiki.js b/static/js/Wiki.js
index a8f058e..0f29db2 100644
--- a/static/js/Wiki.js
+++ b/static/js/Wiki.js
@@ -724,7 +724,7 @@ Wiki.prototype.create_editor = function ( id, note_text, deleted_from_id, revisi
'' +
'' +
'' +
- '' +
+ '' +
'' + note_text;
}
@@ -1570,6 +1570,7 @@ Wiki.prototype.submit_form = function ( form ) {
if ( result.new_revision ) {
editor.document.body.innerHTML = result.contents;
editor.resize();
+ editor.scrape_title();
}
signal( self, "note_saved", editor );