diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-08-06 15:55:11 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-08-06 15:55:11 +0000 |
| commit | e2c3d8f79a2f06e485f2766e67a6afcb1315ebc9 (patch) | |
| tree | 59fca0553dc43ea99ce7fdfaeb23f0b78df6ddaf /roundcubemail/program/js | |
| parent | 5156830d1f8b2f0cdcf5fc4882b63c0c9e3da04f (diff) | |
Finalized 0.1beta2 release
git-svn-id: https://svn.roundcube.net/trunk@297 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 83a50a0e9..f8c5aaf54 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -878,8 +878,9 @@ function rcube_webmail() if (this.task=='mail' && this.env.mailbox==this.env.drafts_mailbox) { - var uid = this.get_single_uid(); - url += '&_draft_uid='+uid+'&_mbox='+escape(this.env.mailbox); + var uid; + if (uid = this.get_single_uid()) + url += '&_draft_uid='+uid+'&_mbox='+escape(this.env.mailbox); } // modify url if we're in addressbook else if (this.task=='addressbook') @@ -2185,6 +2186,8 @@ function rcube_webmail() if (!this.gui_objects.attachmentlist) return false; + alert(content); + var li = document.createElement('LI'); li.id = name; li.innerHTML = content; @@ -3598,6 +3601,12 @@ function rcube_webmail() // send periodic request to check for recent messages this.check_for_recent = function() { + if (this.busy) + { + this.send_keep_alive(); + return; + } + this.set_busy(true, 'checkingmail'); var d = new Date(); this.http_request('check-recent', '_t='+d.getTime()); |
