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-04-13 17:38:18 +0200
commita5949991351c70eb462f779368ceb0efbeea14fb (patch)
treeab27126da02c527665f5cd2a2a393a44c64a533e /program/js
parent056d458ed69ae1ed3db1f1b36dff91dc68b53303 (diff)
Use POST for refresh/check-recent request
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 a0b953386..2cc14a79e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2180,7 +2180,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
@@ -7500,7 +7500,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