From 30c1351e814dcc13497a61f65fa05a0901d5436a Mon Sep 17 00:00:00 2001
From: Michael Hamann <michael@content-space.de>
Date: Mon, 10 Sep 2012 00:25:36 +0200
Subject: [PATCH] Fix media manager height handling after resize FS#2369

The height handling code was triggered before the width handling code
and thus the right pane was below the other panes during the height
calculations which caused strange effects. Now the height handling code
is called again after adjusting the width of the right pane.
---
 lib/scripts/media.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index 8f3c00c88..182d5fefe 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -514,6 +514,8 @@ var dw_mediamanager = {
                     });
                 }
 
+                dw_mediamanager.resize();
+
                 dw_mediamanager.opacity_slider();
                 dw_mediamanager.portions_slider();
             }
-- 
GitLab