projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
managed close moderate window event and the moderate message argument
[brisk.git]
/
web
/
moderation.php
diff --git
a/web/moderation.php
b/web/moderation.php
index
482d4ea
..
ceb06f9
100644
(file)
--- a/
web/moderation.php
+++ b/
web/moderation.php
@@
-6,6
+6,12
@@
window.is_loaded = false;
window.onload = function() {
window.is_loaded = true;
}
+
+window.onbeforeunload = function() {
+ if (typeof(window.anc) != 'undefined') {
+ window.anc.onunload();
+ }
+}
// -->
</script>
</head>