Archived
1
0
This commit is contained in:
Jeff Becker 2016-07-17 11:34:39 -04:00
parent 3506d7f975
commit f4f2479b8a
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -1040,7 +1040,8 @@ Chat.prototype.sendInput = function(event) {
data.set("subject", subject); data.set("subject", subject);
data.set("message", message); data.set("message", message);
data.set("reference", convo); data.set("reference", convo);
data.set("attachment_0", inputElem.file.files[0]); if (inputElem.file.files[0])
data.set("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) {