diff --git a/simplewiki_edit.html b/simplewiki_edit.html index e0bffd5f31..54fe13fe24 100644 --- a/simplewiki_edit.html +++ b/simplewiki_edit.html @@ -19,6 +19,11 @@ ${ wiki_article.title } return "You have made changes to the article that have not been saved yet."; } }; + + $("#submit_edit").click(function() { + $("#id_contents").data('initial_contents', $("#id_contents").val()); + }); + });