From 105c2ae9ee58735972a7fcba005c70fa1922e778 Mon Sep 17 00:00:00 2001 From: RafaFP Date: Tue, 19 Apr 2016 18:59:40 +0000 Subject: [PATCH] delete key will no longer generate a visible invalid character in sharednotes' and chatbox's textAreas refs #1670 --- .../modules/chat/views/ChatBox.mxml | 4 +- .../components/SharedNotesRichTextEditor.mxml | 40 +++++++++++-------- 2 files changed, 26 insertions(+), 18 deletions(-) diff --git a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml index 17c3beda69..22b01c6cc2 100755 --- a/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/modules/chat/views/ChatBox.mxml @@ -800,7 +800,9 @@ with BigBlueButton; if not, see . - + 0 ) refreshSelection = true; -// trace("text-input"); +// LOGGER.debug("text-input"); } private function onKeyUp(event:KeyboardEvent):void @@ -1180,7 +1185,7 @@ if (pasteCarIndex != -1){ getTextStyles(); refreshTextStyle(); -// trace("The mouse pointer was either out of the Shared notes window or on the context menu"); +// LOGGER.debug("The mouse pointer was either out of the Shared notes window or on the context menu"); retPasteCarIndex = textArea.getTextField().caretIndex; textArea.setSelection(pasteCarIndex,pasteCarIndex); getTextStyles(); @@ -1188,22 +1193,23 @@ pasteCarIndex = -1; textArea.setSelection(retPasteCarIndex,retPasteCarIndex); } -// trace("changed-content"); +// LOGGER.debug("changed-content"); } //This will happen every time the user activate the ContextMenu and can be used to ensure that mouse Paste will comply to the text formatting rules. private function onRightClick ( e:MouseEvent ):void { pasteCarIndex = textArea.getTextField().caretIndex; -// trace(pasteCarIndex); -// trace("roll-out"); +// LOGGER.debug(pasteCarIndex); +// LOGGER.debug("roll-out"); } ]]> - + + rollOut= "onRightClick(event);"/> +