show poll related buttons only on the default pres pod
This commit is contained in:
parent
a3d91b9ddb
commit
e5b335b7b5
@ -872,7 +872,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
// on the bottom right-corner.
|
||||
onResetZoom();
|
||||
var dispatcher:Dispatcher = new Dispatcher();
|
||||
dispatchEvent(new StartPollEvent(pollType));
|
||||
dispatchEvent(new StartPollEvent(pollType));
|
||||
}
|
||||
|
||||
private function menuClickHandler(e:MenuEvent):void {
|
||||
@ -938,6 +938,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
|
||||
private function pollStartedHandler(e:PollStartedEvent):void {
|
||||
if (this.podId != PresentationPodManager.DEFAULT_POD_ID) {
|
||||
return;
|
||||
}
|
||||
// the event for this doesn't exist yet
|
||||
if (amITheCurrentPodPresenter()) {
|
||||
// display the results view
|
||||
@ -993,7 +996,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
pollVoteBox.visible = pollVoteBox.includeInLayout = true;
|
||||
|
||||
} else if (state == "presenter" && amITheCurrentPodPresenter()) {
|
||||
pollStartBtn.visible = true;
|
||||
if (this.podId == PresentationPodManager.DEFAULT_POD_ID) { // only allow polling from the default pod
|
||||
pollStartBtn.visible = true;
|
||||
}
|
||||
|
||||
fileAndPollControls.visible = fileAndPollControls.includeInLayout= true;
|
||||
navigationControls.visible = navigationControls.includeInLayout= true;
|
||||
|
Loading…
Reference in New Issue
Block a user