add subjects
This commit is contained in:
parent
a4747b9965
commit
b2201c4ef7
@ -943,7 +943,7 @@ Chat.prototype.sendInput = function(event) {
|
|||||||
var message = inputElem.message.value;
|
var message = inputElem.message.value;
|
||||||
var name = inputElem.name.value;
|
var name = inputElem.name.value;
|
||||||
var convo = self.chatElems.convobar.active;
|
var convo = self.chatElems.convobar.active;
|
||||||
var subject = self.chatElems.convobar.subject.value;
|
var subject = self.chatElems.input.subject.value;
|
||||||
self.readImage(inputElem.file, function(fdata, fname, ftype) {
|
self.readImage(inputElem.file, function(fdata, fname, ftype) {
|
||||||
if (fdata) {
|
if (fdata) {
|
||||||
connection.send({Type: "post", Post: {
|
connection.send({Type: "post", Post: {
|
||||||
@ -1159,7 +1159,7 @@ Chat.prototype.generateChat = function(data) {
|
|||||||
chat.className = 'livechan_chat_output_chat livechan_chat_convo_' + convo.id;
|
chat.className = 'livechan_chat_output_chat livechan_chat_convo_' + convo.id;
|
||||||
var convoLabel = document.createElement('span');
|
var convoLabel = document.createElement('span');
|
||||||
convoLabel.className = 'livechan_convo_label';
|
convoLabel.className = 'livechan_convo_label';
|
||||||
convoLabel.appendChild(document.createTextNode(convo.subject));
|
convoLabel.appendChild(document.createTextNode(data.PostSubject));
|
||||||
|
|
||||||
var header = document.createElement('div');
|
var header = document.createElement('div');
|
||||||
header.className = 'livechan_chat_output_header';
|
header.className = 'livechan_chat_output_header';
|
||||||
|
@ -131,6 +131,8 @@ input, textarea, select {
|
|||||||
|
|
||||||
.livechan_convo_label {
|
.livechan_convo_label {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
color: #a239ab;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.livechan_convobar_root {
|
.livechan_convobar_root {
|
||||||
|
Reference in New Issue
Block a user