@@ -58,7 +58,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
58
58
<mate : Listener type =" {ShortcutEvent.FOCUS_CHAT_INPUT}" method =" focusChatInput" />
59
59
<mate : Listener type =" {UserLeftEvent.LEFT}" method =" handleUserLeftEvent" />
60
60
<mate : Listener type =" {ShortcutEvent.FOCUS_CHAT_BOX}" method =" focusChatBox" />
61
- <mate : Listener type =" {ShortcutEvent.CHANGE_FONT_COLOUR}" method =" focusColourPicker" />
61
+ <!-- mate:Listener type="{ShortcutEvent.CHANGE_FONT_COLOUR}" method="focusColourPicker" /-- >
62
62
<mate : Listener type =" {ShortcutEvent.SEND_MESSAGE}" method =" remoteSendMessage" />
63
63
64
64
<mate : Listener type =" {ShortcutEvent.CHAT_DEBUG}" method =" chatDebugInfo" />
@@ -181,9 +181,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
181
181
focusManager.setFocus(chatMessagesList);
182
182
}
183
183
184
- private function focusColourPicker(e:ShortcutEvent):void{
184
+ /* private function focusColourPicker(e:ShortcutEvent):void{
185
185
focusManager.setFocus(cmpColorPicker);
186
- }
186
+ }*/
187
187
188
188
private function remoteSendMessage(e:ShortcutEvent):void{
189
189
sendMessages();
@@ -520,9 +520,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
520
520
cm.chatType = ChatConstants.PUBLIC_CHAT;
521
521
cm.fromUserID = UsersUtil.getMyUserID();
522
522
cm.fromUsername = UsersUtil.getMyUsername();
523
- cm.fromColor = cmpColorPicker.selectedColor.toString();
523
+ cm.fromColor = "0" //default the message colour to black now cmpColorPicker.selectedColor.toString();
524
524
cm.fromLang = ChatUtil.getUserLang();
525
-
526
525
// Get the current UTC time and the timezone for this sender.
527
526
// The receiver will have to convert this to local time.
528
527
var now:Date = new Date();
@@ -541,7 +540,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
541
540
cm.chatType = ChatConstants.PRIVATE_CHAT;
542
541
cm.fromUserID = UsersUtil.getMyUserID();
543
542
cm.fromUsername = UsersUtil.getMyUsername();
544
- cm.fromColor = cmpColorPicker.selectedColor.toString();
543
+ cm.fromColor = "0" //default the message colour to black now cmpColorPicker.selectedColor.toString();
545
544
cm.fromLang = ChatUtil.getUserLang();
546
545
547
546
// Get the current UTC time and the timezone for this sender.
@@ -596,7 +595,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
596
595
597
596
<mx : HBox id =" chatCtrlBar" width =" 100%" height =" 50" styleName =" chatControlBarStyle" verticalScrollPolicy =" off"
598
597
paddingLeft =" 5" paddingRight =" 5" >
599
- <mx : TextArea id =" txtMsgArea" width =" 100%" color = " {cmpColorPicker.selectedColor} "
598
+ <mx : TextArea id =" txtMsgArea" width =" 100%"
600
599
styleName =" chatControlBarTextMsgStyle"
601
600
toolTip =" {ResourceUtil.getInstance().getString('bbb.accessibility.chat.chatwindow.input')}"
602
601
tabIndex =" {baseIndex+1}" />
@@ -607,10 +606,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
607
606
click =" sendMessages()"
608
607
tabIndex =" {baseIndex+2}"
609
608
accessibilityName =" {ResourceUtil.getInstance().getString('bbb.chat.sendBtn.name')}" />
610
- <mx : ColorPicker id =" cmpColorPicker" showTextField =" false"
609
+ <!-- mx:ColorPicker id="cmpColorPicker" showTextField="false"
611
610
toolTip="{ResourceUtil.getInstance().getString('bbb.chat.cmpColorPicker.toolTip')}"
612
611
selectedColor="0x000000" dataProvider="{colorPickerColours}" swatchPanelStyleName="chatColorPickerStyle"
613
- tabIndex =" {baseIndex+3}" />
612
+ tabIndex="{baseIndex+3}"/-- >
614
613
</mx : VBox >
615
614
</mx : HBox >
616
615
</mx : VBox >
0 commit comments