This commit is contained in:
Chad Pilkey 2016-05-03 10:09:30 -07:00
parent 4c437aebb7
commit dc5bacc578

View File

@ -71,6 +71,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
}
chatNoiseCheckBox.selected = Accessibility.active;
changeChatNoise();
lockSettingsChanged();
}
public function accessibleClick(event:KeyboardEvent):void{
@ -94,6 +96,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
protected function openPrivateChat(event:Event):void{
if (usersList.selectedIndex == -1) return;
if (!usersList.visible || !usersList.enabled) return;
var chatWithUserID:String = usersList.selectedItem.userID;
// Don't want to be chatting with ourself.
@ -121,7 +125,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
}
}
private function lockSettingsChanged(e:Event):void {
private function lockSettingsChanged(e:Event = null):void {
if (UsersUtil.amIModerator() || UsersUtil.amIPresenter()) return; // Settings only affect viewers.