Merge pull request #5131 from riadvice/2.0-ui-fixes
Show lock image if webcamsOnlyForModerator is enabled
This commit is contained in:
commit
de446d379e
@ -59,10 +59,14 @@
|
||||
import org.bigbluebutton.modules.users.model.UsersOptions;
|
||||
import org.bigbluebutton.util.i18n.ResourceUtil;
|
||||
|
||||
private var moderator:Boolean = false;
|
||||
[Bindable]
|
||||
private var rolledOver:Boolean = false;
|
||||
|
||||
[Bindable]
|
||||
private var webcamsOnlyForModerator:Boolean;
|
||||
|
||||
private var moderator:Boolean = false;
|
||||
|
||||
private var rolledOverMute:Boolean = false;
|
||||
private var rolledOverLock:Boolean = false;
|
||||
|
||||
@ -118,6 +122,8 @@
|
||||
}
|
||||
|
||||
private function onChangeWebcamsOnlyForModerator(e:BBBEvent):void {
|
||||
webcamsOnlyForModerator = LiveMeeting.inst().meeting.webcamsOnlyForModerator;
|
||||
|
||||
if (data != null) {
|
||||
updateButtons();
|
||||
}
|
||||
@ -187,8 +193,6 @@
|
||||
|
||||
var ls:LockSettingsVO = UsersUtil.getLockSettings();
|
||||
|
||||
var webcamsOnlyForModerator:Boolean = LiveMeeting.inst().meeting.webcamsOnlyForModerator;
|
||||
|
||||
if (data != null) {
|
||||
settingsBtn.visible = rolledOver && !data.me && !UsersUtil.isBreakout();
|
||||
|
||||
@ -290,8 +294,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (data.locked && !data.presenter && ls.isAnythingLocked()) {
|
||||
if (data.locked && !data.presenter && ls.isAnythingLocked() || (!data.presenter && webcamsOnlyForModerator)) {
|
||||
lockImg.source = getStyle("iconLock");
|
||||
} else {
|
||||
lockImg.source = null;
|
||||
|
Loading…
Reference in New Issue
Block a user