Skip to content
Snippets Groups Projects
Commit bf7934eb authored by Chad Pilkey's avatar Chad Pilkey
Browse files

fix bug with private chat opening key press detection

parent 602ce706
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
lockSettingsChanged();
}
public function accessibleClick(event:KeyboardEvent):void{
public function onUserListKeyDown(event:KeyboardEvent):void{
if (event.keyCode == 32){
openPrivateChat(event);
}
......@@ -148,7 +148,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
visible="{chatOptions.privateEnabled}" includeInLayout="{chatOptions.privateEnabled}"
itemRenderer="org.bigbluebutton.modules.chat.views.UserRenderer"
labelField="name"
itemClick="openPrivateChat(event)"
itemClick="openPrivateChat(event)"
keyDown="onUserListKeyDown(event)"
toolTip="{ResourceUtil.getInstance().getString('bbb.chat.usersList.toolTip')}"
accessibilityName="{ResourceUtil.getInstance().getString('bbb.chat.usersList.accessibilityName')}"/>
<mx:Label styleName="chatOptionsLabel" text="{ResourceUtil.getInstance().getString('bbb.chat.chatOptions')}" />
......
......@@ -294,7 +294,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
tabBox.name = OPTION_TAB_ID;
tabBox.chatOptions = chatOptions;
tabBox.tabIndexer.startIndex = tabIndexer.startIndex + 10;
tabBox.addEventListener(KeyboardEvent.KEY_DOWN, tabBox.accessibleClick);
chatTabs.addChild(tabBox);
return tabBox;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment