From d1d0564a91812e3e58569bfa0ef413d36e130d24 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 6 Jun 2012 21:24:52 +0200 Subject: Fix js error when dropping attachment file --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index b3d3aed5c..7eb8c787c 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6259,7 +6259,7 @@ function rcube_webmail() 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 -- cgit v1.2.3