From 46f7b7096450939fe03c95aa81ce06ae4bfca89d Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 28 Mar 2016 06:51:43 -0400
Subject: [PATCH] Enable reply/reply-all/forward buttons also in preview frame of message/rfc822

---
 skins/classic/templates/messagepreview.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/skins/classic/templates/messagepreview.html b/skins/classic/templates/messagepreview.html
index d74c2d6..08c4fda 100644
--- a/skins/classic/templates/messagepreview.html
+++ b/skins/classic/templates/messagepreview.html
@@ -16,7 +16,7 @@
     <roundcube:if condition="env:optional_format=='html'" />
       <roundcube:button command="change-format" prop="html" image="/images/icons/html.png" width="15" height="15" title="changeformathtml" id="changeformathtml" />
     <roundcube:endif />
-    <roundcube:if condition="env:no_preview_controls == false">
+    <roundcube:if condition="!env:message_context">
       <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" />
     <roundcube:endif />
   </div>

--
Gitblit v1.9.1