Archived
1
0

try fixing liveui for chrome

This commit is contained in:
Jeff Becker 2016-10-02 20:36:59 -04:00
parent a0a0a6feca
commit db5b8ec309
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -1045,13 +1045,13 @@ Chat.prototype.sendInput = function(event) {
} }
} }
var data = new FormData(); var data = new FormData();
data.set("name", name); data.append("name", name);
data.set("subject", subject); data.append("subject", subject);
data.set("message", message); data.append("message", message);
if (convo) if (convo)
data.set("reference", convo); data.append("reference", convo);
if (inputElem.file.files[0]) if (inputElem.file.files[0])
data.set("attachment_0", inputElem.file.files[0]); data.append("attachment_0", inputElem.file.files[0]);
ajax.send(data); ajax.send(data);
/** /**
self.readImage(inputElem.file, function(fdata, fname, ftype) { self.readImage(inputElem.file, function(fdata, fname, ftype) {