From 21922b749a5696a2ea4274e0968ad2d3d20dcc9d Mon Sep 17 00:00:00 2001 From: sostler Date: Fri, 16 Apr 2010 13:41:02 -0400 Subject: Intermediate commit from muting admin --- static/js/pichat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'static/js/pichat.js') diff --git a/static/js/pichat.js b/static/js/pichat.js index 97379ef..3954e20 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -632,7 +632,8 @@ function setupUpload(elementId, roomKey) { } }; var onComplete = function(file, response) { - r = $.trim(response); + var r = $.trim(response); + g = r; if (r.match(/FILE_TOO_BIG/)) { var maxSize = r.split(" ")[1] / 1024; alert("Sorry. Your file is just too fucking big. " -- cgit v1.2.3-70-g09d2