Commit 1921bd01 by Bridger Maxwell

Started implementing exit confirmation on wiki edit page. NOT WORKING YET

--HG--
branch : bridger-dev
parent 885c3ac1
...@@ -8,6 +8,23 @@ ...@@ -8,6 +8,23 @@
${ wiki_article.title } ${ wiki_article.title }
</%block> </%block>
<%block name="wiki_head">
<script>
$(function() {
$("#id_contents").data('initial_contents') = $("#id_contents");
window.
}
//On load, we save
var blah;
</script>
</%block>
<%block name="wiki_body"> <%block name="wiki_body">
<form method="POST" id="wiki_revision"> <form method="POST" id="wiki_revision">
<div style="display:none"> <div style="display:none">
......
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