Fixed bug where wiki warned users even as they saved their changes.
--HG-- branch : bridger-dev
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user