From d1d0564a91812e3e58569bfa0ef413d36e130d24 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 06 Jun 2012 15:24:52 -0400 Subject: [PATCH] Fix js error when dropping attachment file --- program/js/app.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index b3d3aed..7eb8c78 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6259,7 +6259,7 @@ dashdash = '--', crlf = '\r\n', multipart = dashdash + boundary + crlf; - if (!file || !files.length) + if (!files || !files.length) return; // inline function to submit the files to the server -- Gitblit v1.9.1