Minor fixes + cleanup

This commit is contained in:
tonio
2010-04-30 17:27:19 +02:00
parent 4ee5219055
commit 007fc6762f
4 changed files with 2 additions and 3 deletions
@@ -56,6 +56,7 @@ tr.table-tr-selected {
updatelisting(resp);
tbl = new HtmlTable($("emails"), {
useKeyboard: false,
selectable: true
});
if ($("toggleselect")) {
+1 -1
View File
@@ -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(',')