Correcting logic of getting the list of files in the download window

This commit is contained in:
Alexandre Kreismann 2014-04-30 15:42:50 -03:00
parent d9f1672b64
commit 6a66fc5db6

View File

@ -79,6 +79,8 @@ package org.bigbluebutton.modules.present.managers
public function handleOpenDownloadWindow():void{
if (downloadWindow != null) return;
globalDispatcher.dispatchEvent(new DownloadEvent(DownloadEvent.UPDATE_FILE_NAMES));
downloadWindow = new FileDownloadWindow();
@ -119,8 +121,7 @@ package org.bigbluebutton.modules.present.managers
public function handleCloseUploadWindow():void{
PopUpManager.removePopUp(uploadWindow);
uploadWindow = null;
globalDispatcher.dispatchEvent(new DownloadEvent(DownloadEvent.UPDATE_FILE_NAMES));
uploadWindow = null;
}
public function updatePresentationNames(e:UploadEvent):void{