Permalink
Browse files

fixed

  • Loading branch information...
1 parent dd7daad commit 7b6e76d98099a374d924ec669b06a7dfccc7869d @NoahY committed Dec 25, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 qa-confirm-layer.php
View
@@ -11,6 +11,10 @@ function head_custom()
$this->output('<script type="text/javascript">
jQuery("document").ready(function() {
+ jQuery("form").submit(function(event) {
+ window.onbeforeunload = null;
+ });
+
window.onbeforeunload = function(event) {
var content = false
jQuery("textarea:visible").each( function() {

0 comments on commit 7b6e76d

Please sign in to comment.