From 2a51019c26e7f8b0101c0b53db7e289b86fc61cc Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 15 Mar 2010 13:46:28 -0600 Subject: [PATCH] r.opts might not exist here. --- imp/js/fullmessage-dimp.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imp/js/fullmessage-dimp.js b/imp/js/fullmessage-dimp.js index d919fc494..d9316ccb2 100644 --- a/imp/js/fullmessage-dimp.js +++ b/imp/js/fullmessage-dimp.js @@ -49,6 +49,9 @@ var DimpFullmessage = { r = result.response, id = (r.identity === null) ? $F('identity') : r.identity; + if (!r.opts) { + r.opts = {}; + } r.opts.noupdate = true; r.opts.show_editor = (r.format == 'html'); -- 2.11.0