summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-06-30 09:44:28 +0000
committeralecpl <alec@alec.pl>2011-06-30 09:44:28 +0000
commit4a142f63714530aae0f12d2c1fac1d8709393c5a (patch)
tree1a500d2a282ac2918258dab76fbdb1c71d12bee7 /program/js
parentc3dabfad7ac668cb9bdcbf8ccf221d82fadd9c9c (diff)
- Make sure upload form uses POST method
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f2744b7c0..efd1cc776 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5619,6 +5619,7 @@ function rcube_webmail()
form.target = frame_name;
form.action = this.url(action, { _id:this.env.compose_id||'', _uploadid:ts });
+ form.setAttribute('method', 'POST');
form.setAttribute('enctype', 'multipart/form-data');
form.submit();