diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-06-06 21:24:52 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-06-06 21:24:52 +0200 |
commit | d1d0564a91812e3e58569bfa0ef413d36e130d24 (patch) | |
tree | 233da9830d8336b163d799e2eb7b87ed30050683 | |
parent | ae6d2de17f740915e47c64d210680eb5e9850335 (diff) |
Fix js error when dropping attachment file
-rw-r--r-- | 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 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 |