From 007fc6762fcd2f7d7cb1dc049eb2338be479b2ed Mon Sep 17 00:00:00 2001 From: tonio Date: Fri, 30 Apr 2010 17:27:19 +0200 Subject: [PATCH] Minor fixes + cleanup --- extensions/amavis_quarantine/templates/index.html | 1 + extensions/webmail/main.py | 2 +- templates/common/email_listing.html | 1 - templates/nlayout.html | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/amavis_quarantine/templates/index.html b/extensions/amavis_quarantine/templates/index.html index a3b394776..fd5704304 100644 --- a/extensions/amavis_quarantine/templates/index.html +++ b/extensions/amavis_quarantine/templates/index.html @@ -56,6 +56,7 @@ tr.table-tr-selected { updatelisting(resp); tbl = new HtmlTable($("emails"), { + useKeyboard: false, selectable: true }); if ($("toggleselect")) { diff --git a/extensions/webmail/main.py b/extensions/webmail/main.py index 13a905220..7d3f4c80d 100644 --- a/extensions/webmail/main.py +++ b/extensions/webmail/main.py @@ -229,7 +229,7 @@ def send_mail(request, withctx=False, origmsg=None): msg["To"] = request.POST["to"] msg["Message-ID"] = make_msgid() msg["User-Agent"] = "MailNG" - msg["Date"] = formatdate() + msg["Date"] = formatdate(time.time(), True) if origmsg and origmsg.has_key("Message-ID"): msg["References"] = msg["In-Reply-To"] = origmsg["Message-ID"] rcpts = msg['To'].split(',') diff --git a/templates/common/email_listing.html b/templates/common/email_listing.html index 18c661a49..12ed2b48b 100644 --- a/templates/common/email_listing.html +++ b/templates/common/email_listing.html @@ -23,7 +23,6 @@ {% block css %}{% endblock %} - -