Fixed bug where wiki warned users even as they saved their changes.

--HG--
branch : bridger-dev
This commit is contained in:
Bridger Maxwell
2012-02-20 21:59:26 -05:00
parent b923b59fc4
commit 2be705ca01

View File

@@ -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());
});
});
</script>
</%block>