From 1532939f784c60d132838e90a557514411d1067c Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 19 Oct 2010 13:00:59 -0600 Subject: [PATCH] Fix opening new compose message with to address --- imp/js/dimpcore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imp/js/dimpcore.js b/imp/js/dimpcore.js index 2b54bcc27..419313ca6 100644 --- a/imp/js/dimpcore.js +++ b/imp/js/dimpcore.js @@ -271,6 +271,8 @@ var DimpCore = { if (type.startsWith('forward') || !args || !args.uids) { if (type.startsWith('forward')) { params.uids = this.toRangeString(this.selectionToRange(args.uids)); + } else if (args.to) { + params.to = args.to; } this.popupWindow(this.addURLParam(DIMP.conf.URI_COMPOSE, params), 'compose' + new Date().getTime()); } else { -- 2.11.0