mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Fixed typo
This commit is contained in:
@ -24,7 +24,7 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
|
||||
//Create a conversation window
|
||||
var conversationWindow = this.create({
|
||||
target: byId(ComunicWeb.components.conversations.manager.__conversationsContenerID),
|
||||
target: byId(ComunicWeb.components.conversations.manager.__conversationsContainerID),
|
||||
conversationID: conversationID,
|
||||
});
|
||||
|
||||
@ -75,7 +75,7 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
|
||||
|
||||
//Debug
|
||||
//Create messages contener
|
||||
//Create messages container
|
||||
infosBox.messagesArea = createElem2({
|
||||
appendTo: infosBox.boxBody,
|
||||
type: "div",
|
||||
@ -120,8 +120,8 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
*/
|
||||
addMessageform: function(infosBox){
|
||||
|
||||
//Create form contener
|
||||
var conversationFormContener = createElem2({
|
||||
//Create form container
|
||||
var conversationFormContainer = createElem2({
|
||||
appendTo: infosBox.boxFooter,
|
||||
type: "form",
|
||||
class: "create-message-form"
|
||||
@ -129,7 +129,7 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
|
||||
//Create input group
|
||||
var inputGroup = createElem2({
|
||||
appendTo: conversationFormContener,
|
||||
appendTo: conversationFormContainer,
|
||||
type: "div",
|
||||
class: "input-group"
|
||||
});
|
||||
@ -209,7 +209,7 @@ ComunicWeb.components.conversations.chatWindows = {
|
||||
|
||||
//Add required elements to infosBox
|
||||
infosBox.sendMessageForm = {
|
||||
formRoot: conversationFormContener,
|
||||
formRoot: conversationFormContainer,
|
||||
sendButton: sendButton,
|
||||
inputText: inputText,
|
||||
textarea2: textarea2,
|
||||
|
@ -7,9 +7,9 @@
|
||||
ComunicWeb.components.conversations.manager = {
|
||||
|
||||
/**
|
||||
* @var {String} The ID of the conversation contener
|
||||
* @var {String} The ID of the conversation container
|
||||
*/
|
||||
__conversationsContenerID: "conversationsElem",
|
||||
__conversationsContainerID: "conversationsElem",
|
||||
|
||||
/**
|
||||
* Display conversations manager
|
||||
@ -19,7 +19,7 @@ ComunicWeb.components.conversations.manager = {
|
||||
display: function(){
|
||||
|
||||
//Try to get conversation manager
|
||||
var conversationsContainerElem = byId(this.__conversationsContenerID);
|
||||
var conversationsContainerElem = byId(this.__conversationsContainerID);
|
||||
|
||||
//Check if element exists or not
|
||||
if(conversationsContainerElem){
|
||||
@ -33,7 +33,7 @@ ComunicWeb.components.conversations.manager = {
|
||||
|
||||
//Create conversations manager element
|
||||
var conversationsContainerElem = createElem("div");
|
||||
conversationsContainerElem.id = this.__conversationsContenerID;
|
||||
conversationsContainerElem.id = this.__conversationsContainerID;
|
||||
|
||||
//Insert the element at the right place
|
||||
var pageTarget = byId("pageTarget");
|
||||
|
@ -55,12 +55,12 @@ ComunicWeb.components.conversations.unreadDropdown = {
|
||||
});
|
||||
|
||||
//Add conversations list
|
||||
var conversationsListContener = createElem2({
|
||||
var conversationsListContainer = createElem2({
|
||||
appendTo: dropdownMenu,
|
||||
type: "li"
|
||||
});
|
||||
var conversationsList = createElem2({
|
||||
appendTo: conversationsListContener,
|
||||
appendTo: conversationsListContainer,
|
||||
type: "ul",
|
||||
class: "menu"
|
||||
});
|
||||
|
Reference in New Issue
Block a user