summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2012-10-09 08:40:44 +0200
committerLeif Johansson <leifj@sunet.se>2012-10-09 08:42:10 +0200
commitf3b0dbaa669159ec880848f7b70220791a1427fa (patch)
treebf4ba4a791789b58fda9d120e9e08146427a88fb /templates/base.html
parent2e2267171cf83acf2002fcc2c36ffb55b380a2ba (diff)
- users own room
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index ba3b06d..90d516e 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -43,6 +43,12 @@
$(function() {
prettyPrint();
$(".submitter").submitter()
+ $(".cancel").each(function(that) {
+ that.click(function(ev) {
+ ev.preventDefault();
+ document.location = document.referrer;
+ })
+ });
{% block widgets %}{% endblock %}
});
</script>