Merge pull request #3010 from capilkey/fix-3009
Show chat options tab when private chat disabled
This commit is contained in:
commit
5189dd684a
@ -58,6 +58,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
private function onCreationComplete():void{
|
||||
users = UserManager.getInstance().getConference().users;
|
||||
|
||||
if (!chatOptions.privateEnabled) {
|
||||
usersList.includeInLayout = usersList.visible = false;
|
||||
}
|
||||
|
||||
if (fontSizes.indexOf(chatOptions.fontSize) != -1) {
|
||||
cmbFontSize.selectedItem = chatOptions.fontSize;
|
||||
changeFontSize(); // have to manually call it because the change event doesn't fire
|
||||
@ -107,8 +112,13 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
* For the Options tab focus the users list instead of the text area.
|
||||
**/
|
||||
public function focusToTextMessageArea():void {
|
||||
if (usersList.visible) {
|
||||
usersList.setFocus();
|
||||
usersList.drawFocus(true);
|
||||
} else {
|
||||
cmbFontSize.setFocus();
|
||||
cmbFontSize.drawFocus(true);
|
||||
}
|
||||
}
|
||||
|
||||
private function lockSettingsChanged(e:Event):void {
|
||||
|
@ -91,10 +91,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
openChatBoxFor(PUBLIC_CHAT_USERID, true);
|
||||
makePublicChatUncloseable();
|
||||
|
||||
if (chatOptions.privateEnabled) {
|
||||
createAddTabBox();
|
||||
makeAddPrivateChatUncloseable();
|
||||
}
|
||||
|
||||
ResourceUtil.getInstance().addEventListener(Event.CHANGE, localeChanged); // Listen for locale changing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user