Commit 2be705ca by Bridger Maxwell

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

--HG--
branch : bridger-dev
parent b923b59f
...@@ -19,6 +19,11 @@ ${ wiki_article.title } ...@@ -19,6 +19,11 @@ ${ wiki_article.title }
return "You have made changes to the article that have not been saved yet."; 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> </script>
</%block> </%block>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment