From: Matteo Nastasi (mop) Date: Mon, 1 Jul 2013 16:54:33 +0000 (+0200) Subject: add moderation window cleanup when logout X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=f10073fb5a9ba4be4bab7b3def4e542b453a7c29;p=brisk.git add moderation window cleanup when logout --- diff --git a/web/commons.js b/web/commons.js index 4c0ea73..bc39719 100644 --- a/web/commons.js +++ b/web/commons.js @@ -648,6 +648,11 @@ function act_shutdown() function postact_logout() { // alert("postact_logout"); + + if (g_moder.is_enabled()) { + g_moder.disable(); + } + try { hstm.abort(); } catch (e) {}