From eb7caa542eac157ee816f6da6a77314c1db085c2 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 27 Jan 2010 13:37:50 -0700 Subject: [PATCH] baseWindow might no longer exist, so check for that --- imp/js/compose-dimp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/js/compose-dimp.js b/imp/js/compose-dimp.js index be3852802..2c82d9c13 100644 --- a/imp/js/compose-dimp.js +++ b/imp/js/compose-dimp.js @@ -280,7 +280,7 @@ var DimpCompose = { break; case 'send_message': - if (this.is_popup) { + if (this.is_popup && DIMP.baseWindow.DimpBase) { if (d.reply_type) { DIMP.baseWindow.DimpBase.flag(d.reply_type == 'reply' ? '\\answered' : '$forwarded', true, { uid: d.uid, mailbox: d.reply_folder, noserver: true }); } -- 2.11.0