- auto display pre-uploaded presentation

This commit is contained in:
Richard Alam 2011-08-23 15:28:25 +00:00
parent 5e457b71d1
commit b0ddf563f5
2 changed files with 3 additions and 3 deletions

View File

@ -512,6 +512,9 @@ package org.bigbluebutton.modules.present.business {
uploadEvent.presentationName = presentationName;
dispatcher.dispatchEvent(uploadEvent);
dispatcher.dispatchEvent(new BBBEvent(BBBEvent.PRESENTATION_CONVERTED));
var readyEvent:UploadEvent = new UploadEvent(UploadEvent.PRESENTATION_READY);
readyEvent.presentationName = presentationName;
dispatcher.dispatchEvent(readyEvent);
}
public function conversionUpdateMessageCallback(conference:String, room:String,

View File

@ -297,9 +297,6 @@
private function convertSuccess(e:UploadEvent):void{
okCancelBtn.label = ResourceUtil.getInstance().getString('bbb.presentation.ok');
okCancelBtn.visible = true;
var readyEvent:UploadEvent = new UploadEvent(UploadEvent.PRESENTATION_READY);
readyEvent.presentationName = e.presentationName;
globalDispatch.dispatchEvent(readyEvent);
globalDispatch.dispatchEvent(new UploadEvent(UploadEvent.CLOSE_UPLOAD_WINDOW));
}