From 405080d73c17d8748b6532a203a8e8291f73db71 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 22 Feb 2013 02:26:21 +0000 Subject: [PATCH] handle embed case in pandora.resizeWindow --- static/js/pandora/utils.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index b7b135f07..e7272f2af 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -1222,6 +1222,10 @@ pandora.resizeFolders = function() { }; pandora.resizeWindow = function() { + if (pandora.$ui.embedPanel) { + pandora.$ui.embedPanel.resizePanel(); + return; + } // FIXME: a lot of this throws errors on load pandora.$ui.leftPanel && pandora.$ui.leftPanel.size(2, pandora.getInfoHeight(true)); pandora.resizeFolders();