fixes for liveui
This commit is contained in:
parent
4b02ad6d89
commit
32566bfd84
@ -997,7 +997,8 @@ Chat.prototype.sendInput = function(event) {
|
|||||||
var board;
|
var board;
|
||||||
if(convo)
|
if(convo)
|
||||||
board = self.chatElems.convobar.holder[convo].group;
|
board = self.chatElems.convobar.holder[convo].group;
|
||||||
if (!board) board = "overchan.random";
|
if (!board) board = "overchan.random";
|
||||||
|
console.log(board);
|
||||||
var subject = self.chatElems.input.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) {
|
||||||
@ -1006,7 +1007,7 @@ Chat.prototype.sendInput = function(event) {
|
|||||||
subject: subject,
|
subject: subject,
|
||||||
name: name,
|
name: name,
|
||||||
reference: convo,
|
reference: convo,
|
||||||
board: board,
|
newsgroup: board,
|
||||||
files: [{name: fname, data: fdata, type: ftype}],
|
files: [{name: fname, data: fdata, type: ftype}],
|
||||||
}});
|
}});
|
||||||
} else {
|
} else {
|
||||||
@ -1015,7 +1016,7 @@ Chat.prototype.sendInput = function(event) {
|
|||||||
message: message,
|
message: message,
|
||||||
reference: convo,
|
reference: convo,
|
||||||
name: name,
|
name: name,
|
||||||
board: board,
|
newsgroup: board,
|
||||||
}});
|
}});
|
||||||
}
|
}
|
||||||
inputElem.file.value = "";
|
inputElem.file.value = "";
|
||||||
|
Reference in New Issue
Block a user