From: Michael M Slusarz Date: Wed, 27 Jan 2010 20:37:50 +0000 (-0700) Subject: baseWindow might no longer exist, so check for that X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=eb7caa542eac157ee816f6da6a77314c1db085c2;p=horde.git baseWindow might no longer exist, so check for that --- 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 }); }