From 3506d7f975aab4f9e2f708e6647bcb0202f3d083 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 17 Jul 2016 11:28:49 -0400 Subject: [PATCH] try fixing liveui --- contrib/js/livechan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/js/livechan.js b/contrib/js/livechan.js index 438df51..26bc961 100644 --- a/contrib/js/livechan.js +++ b/contrib/js/livechan.js @@ -1040,7 +1040,7 @@ Chat.prototype.sendInput = function(event) { data.set("subject", subject); data.set("message", message); data.set("reference", convo); - data.set("attachment_0", inputElem.file); + data.set("attachment_0", inputElem.file.files[0]); ajax.send(data); /** self.readImage(inputElem.file, function(fdata, fname, ftype) {