- fix problem where no one can share when presenterShareOnly is set to TRUE

This commit is contained in:
Richard Alam 2013-09-16 21:27:47 +00:00
parent 9f8f7fa419
commit fc4382d626

View File

@ -115,12 +115,12 @@ package org.bigbluebutton.modules.videoconf.maps
}
private function addToolbarButton():void{
if (proxy.videoOptions.showButton) {
if (proxy.videoOptions.showButton || proxy.videoOptions.presenterShareOnly) {
button = new ToolbarButton();
button.isPresenter = !options.presenterShareOnly;
var event:ToolbarButtonEvent = new ToolbarButtonEvent(ToolbarButtonEvent.ADD);
event.button = button;
event.module="Webcam";
event.module="Webcam";
_dispatcher.dispatchEvent(event);
}
}