- fix problem where no one can share when presenterShareOnly is set to TRUE
This commit is contained in:
parent
9f8f7fa419
commit
fc4382d626
@ -115,12 +115,12 @@ package org.bigbluebutton.modules.videoconf.maps
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function addToolbarButton():void{
|
private function addToolbarButton():void{
|
||||||
if (proxy.videoOptions.showButton) {
|
if (proxy.videoOptions.showButton || proxy.videoOptions.presenterShareOnly) {
|
||||||
button = new ToolbarButton();
|
button = new ToolbarButton();
|
||||||
button.isPresenter = !options.presenterShareOnly;
|
button.isPresenter = !options.presenterShareOnly;
|
||||||
var event:ToolbarButtonEvent = new ToolbarButtonEvent(ToolbarButtonEvent.ADD);
|
var event:ToolbarButtonEvent = new ToolbarButtonEvent(ToolbarButtonEvent.ADD);
|
||||||
event.button = button;
|
event.button = button;
|
||||||
event.module="Webcam";
|
event.module="Webcam";
|
||||||
_dispatcher.dispatchEvent(event);
|
_dispatcher.dispatchEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user