From 99e27c581eda16f8c3f942fc9f57ce5d56b8cba1 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Thu, 30 May 2013 15:19:05 +0200 Subject: [PATCH] Fix unintentional compose window resize (#1489114) --- CHANGELOG | 1 + program/js/app.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 7ef15b695..3574411d9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix unintentional compose window resize (#1489114) - Fix performance regression in text wrapping function (#1489133) - Fix connection to posgtres db using unix socket (#1489132) - Implemented shared cache (rcube_cache_shared) diff --git a/program/js/app.js b/program/js/app.js index 7c4fbc133..d5a66abf0 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2974,7 +2974,8 @@ function rcube_webmail() } else { this.redirect(url); - window.resizeTo(Math.max(this.env.popup_width, $(window).width()), $(window).height() + 24); + if (this.env.extwin) + window.resizeTo(Math.max(this.env.popup_width, $(window).width()), $(window).height() + 24); } };