diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/view/components/ChatWindow.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/view/components/ChatWindow.mxml index 02345ff2f1..8c67e665d2 100644 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/view/components/ChatWindow.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/view/components/ChatWindow.mxml @@ -1,7 +1,9 @@ + width="400" height="300" showCloseButton="false" + click="setFocusOn(this.txtMsg || this.txtChatBox)" + focusEnd="setFocusOff()" > " + rm.message + ""; txtChatBox.htmlText += newMessage + "\n"; } + public function setFocusOn(component:UIComponent):void + { + if (component.id == "txtMsg") { + component.setFocus(); + component.drawFocus(true); + } + else + { + this.txtMsg.setFocus(); + this.txtMsg.drawFocus(true); + } + //this.txtMsg.focusManager.showFocusIndicator = true; + } + public function setFocusOff():void + { + //this.txtMsg.setFocus(); + this.txtMsg.cursorManager.hideCursor(); + this.txtMsg.drawFocus(false); + + //this.txtMsg.cursorManager.removeAllCursors(); + } public function sendMessages():void { @@ -41,7 +66,7 @@ ]]> - +