Archived
1
0

add subjects

This commit is contained in:
Jeff Becker 2016-07-05 12:58:13 -04:00
parent a4747b9965
commit b2201c4ef7
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 4 additions and 2 deletions

View File

@ -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';

View File

@ -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 {