From 6b1dfdd1e90fef219bd6eb978930d8b24ffd7623 Mon Sep 17 00:00:00 2001 From: Denis Zgonjanin Date: Wed, 25 Jun 2008 16:08:33 +0000 Subject: [PATCH] git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@97 af16638f-c34d-0410-8cfa-b39d5352b314 --- .../bigbluebutton/main/view/MainApplicationShellMediator.as | 3 ++- .../bigbluebutton/modules/viewers/ViewersModuleMediator.as | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bigbluebutton-core/src/org/bigbluebutton/main/view/MainApplicationShellMediator.as b/bigbluebutton-core/src/org/bigbluebutton/main/view/MainApplicationShellMediator.as index 424ea17816..1b376fa3b6 100644 --- a/bigbluebutton-core/src/org/bigbluebutton/main/view/MainApplicationShellMediator.as +++ b/bigbluebutton-core/src/org/bigbluebutton/main/view/MainApplicationShellMediator.as @@ -151,7 +151,8 @@ package org.bigbluebutton.main.view } private function removeWindow(module:BigBlueButtonModule):void{ - shell.mdiCanvas.windowManager.remove(module.getMDIComponent()); + //shell.mdiCanvas.windowManager.remove(module.getMDIComponent()); + module.getMDIComponent().visible = false; } /** diff --git a/bigbluebutton-core/src/org/bigbluebutton/modules/viewers/ViewersModuleMediator.as b/bigbluebutton-core/src/org/bigbluebutton/modules/viewers/ViewersModuleMediator.as index 37c1db87b6..f4adb4ff4c 100644 --- a/bigbluebutton-core/src/org/bigbluebutton/modules/viewers/ViewersModuleMediator.as +++ b/bigbluebutton-core/src/org/bigbluebutton/modules/viewers/ViewersModuleMediator.as @@ -96,7 +96,7 @@ package org.bigbluebutton.modules.viewers module.preferedY = Capabilities.screenResolutionY/2 - 265; module.activeWindow = joinWindow; - msg.setBody(viewComponent as ViewersModule); + msg.setBody(module); outpipe.write(msg); } @@ -121,7 +121,7 @@ package org.bigbluebutton.modules.viewers viewersWindow.title = ViewersWindow.TITLE; viewersWindow.showCloseButton = false; sendNotification(ViewersFacade.START_VIEWER_WINDOW, viewersWindow); - msg.setBody(viewComponent as ViewersModule); + msg.setBody(module); outpipe.write(msg); } @@ -136,7 +136,7 @@ package org.bigbluebutton.modules.viewers TO: MainApplicationConstants.TO_MAIN }); msg.setPriority(Message.PRIORITY_HIGH); - msg.setBody(viewComponent as ViewersModule); + msg.setBody(module); outpipe.write(msg); }