From: Michael M Slusarz Date: Mon, 15 Mar 2010 19:46:28 +0000 (-0600) Subject: r.opts might not exist here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2a51019c26e7f8b0101c0b53db7e289b86fc61cc;p=horde.git r.opts might not exist here. --- 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');