summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-24 08:15:20 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-24 08:15:20 +0000
commitf2364bb670c35740f385c0acfd199884428d782a (patch)
treed4765924852df36d8828a2bad88c23875df9b086 /roundcubemail/program
parent8ef32267ba5d107f82b3d4a7a0a20dcd1e90730f (diff)
- Remove cache buster from check-recent/keep-alive requests, it's already added by jQuery
git-svn-id: https://svn.roundcube.net/trunk@4688 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index da1394767..46aa7f00d 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -5430,14 +5430,7 @@ function rcube_webmail()
if (this.env.keep_alive && !this.env.framed && this.task == 'mail' && this.gui_objects.mailboxlist)
this._int = setInterval(function(){ ref.check_for_recent(false); }, this.env.keep_alive * 1000);
else if (this.env.keep_alive && !this.env.framed && this.task != 'login' && this.env.action != 'print')
- this._int = setInterval(function(){ ref.send_keep_alive(); }, this.env.keep_alive * 1000);
- };
-
- // sends keep-alive signal to the server
- this.send_keep_alive = function()
- {
- var d = new Date();
- this.http_request('keep-alive', '_t='+d.getTime());
+ this._int = setInterval(function(){ ref.http_request('keep-alive'); }, this.env.keep_alive * 1000);
};
// sends request to check for recent messages
@@ -5446,7 +5439,7 @@ function rcube_webmail()
if (this.busy)
return;
- var lock, addurl = '_t=' + (new Date().getTime()) + '&_mbox=' + urlencode(this.env.mailbox);
+ var lock, addurl = '_mbox=' + urlencode(this.env.mailbox);
if (refresh) {
lock = this.set_busy(true, 'checkingmail');