added an alert when the user copies the chat content
This commit is contained in:
parent
6ccef83bb5
commit
b9ee79cdd5
@ -194,6 +194,7 @@ bbb.chat.save.complete = Chat successfully saved
|
||||
bbb.chat.copyBtn.toolTip = Copy chat
|
||||
bbb.chat.copyBtn.accessibilityName = Copy chat to clipboard
|
||||
bbb.chat.copyBtn.label = Copy
|
||||
bbb.chat.copy.complete = Chat copied to clipboard
|
||||
bbb.chat.contextmenu.copyalltext = Copy All Text
|
||||
bbb.chat.publicChatUsername = Public
|
||||
bbb.chat.optionsTabName = Options
|
||||
|
@ -195,6 +195,7 @@ bbb.chat.save.complete = Bate-papo salvo com sucesso
|
||||
bbb.chat.copyBtn.toolTip = Copiar bate-papo
|
||||
bbb.chat.copyBtn.accessibilityName = Copiar bate-papo para a área de transferência
|
||||
bbb.chat.copyBtn.label = Copiar
|
||||
bbb.chat.copy.complete = Bate-papo copiado para a área de trabalho
|
||||
bbb.chat.publicChatUsername = Público
|
||||
bbb.chat.optionsTabName = Opções
|
||||
bbb.chat.privateChatSelect = Selecione uma pessoa para um bate-papo privado
|
||||
|
@ -1,22 +1,19 @@
|
||||
package org.bigbluebutton.modules.chat.services
|
||||
{
|
||||
import flash.events.Event;
|
||||
import flash.system.System;
|
||||
|
||||
import org.bigbluebutton.core.UsersUtil;
|
||||
import mx.controls.Alert;
|
||||
|
||||
import org.bigbluebutton.modules.chat.model.ChatConversation;
|
||||
import org.bigbluebutton.modules.chat.events.ChatCopyEvent;
|
||||
import org.bigbluebutton.util.i18n.ResourceUtil;
|
||||
|
||||
public class ChatCopy
|
||||
{
|
||||
public function ChatCopy(){
|
||||
|
||||
}
|
||||
|
||||
public function copyAllText(e:ChatCopyEvent):void{
|
||||
var chat:ChatConversation = e.chatMessages;
|
||||
System.setClipboard(chat.getAllMessageAsString());
|
||||
}
|
||||
public function copyAllText(e:ChatCopyEvent):void {
|
||||
var chat:ChatConversation = e.chatMessages;
|
||||
System.setClipboard(chat.getAllMessageAsString());
|
||||
Alert.show(ResourceUtil.getInstance().getString('bbb.chat.copy.complete'), "", Alert.OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user