summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-13 17:38:18 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-25 11:07:40 +0200
commit8b93fc92845d13e17795b9b3a52cdeb81e5340c5 (patch)
tree877266800f63bcd62ea8e79524e184de25864721 /program/js
parent54b4790fcdfee4f66cb3aa5a1613906c2284016c (diff)
Use POST for refresh/check-recent request
Conflicts: program/steps/mail/check_recent.inc
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f0ad2ab5f..d56088d41 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2151,7 +2151,7 @@ function rcube_webmail()
var lock = this.set_busy(true, 'checkingmail'),
params = this.check_recent_params();
- this.http_request('check-recent', params, lock);
+ this.http_post('check-recent', params, lock);
};
// list messages of a specific mailbox using filter
@@ -7330,7 +7330,7 @@ function rcube_webmail()
this.env.lastrefresh = new Date();
// plugins should bind to 'requestrefresh' event to add own params
- this.http_request('refresh', params, lock);
+ this.http_post('refresh', params, lock);
};
// returns check-recent request parameters