summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-13 21:53:33 +0000
committerthomascube <thomas@roundcube.net>2005-10-13 21:53:33 +0000
commit09941ea763db08c7b13263fae68cf6eb01bc7bcf (patch)
tree158f7699ff5d66f13b94b4f9e7effd5d0a51841e /program/js
parent520c36aa4c24ad3424b8fa3137b7576e6eacaf14 (diff)
Some error messages added
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 3182ce365..3837a3179 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6,7 +6,7 @@
| Copyright (C) 2005, RoundCube Dev, - Switzerland |
| Licensed under the GNU GPL |
| |
- | Modified: 2005/08/19 (tbr) |
+ | Modified: 2005/10/13 (tbr) |
| |
+-----------------------------------------------------------------------+
| Author: Thomas Bruederli <roundcube@gmail.com> |
@@ -565,12 +565,14 @@ function rcube_webmail()
case 'nextmessage':
if (this.env.next_uid)
- location.href = this.env.comm_path+'&_action=show&_uid='+this.env.next_uid+'&_mbox='+this.env.mailbox;
+ this.show_message(this.env.next_uid);
+ //location.href = this.env.comm_path+'&_action=show&_uid='+this.env.next_uid+'&_mbox='+this.env.mailbox;
break;
case 'previousmessage':
if (this.env.prev_uid)
- location.href = this.env.comm_path+'&_action=show&_uid='+this.env.prev_uid+'&_mbox='+this.env.mailbox;
+ this.show_message(this.env.prev_uid);
+ //location.href = this.env.comm_path+'&_action=show&_uid='+this.env.prev_uid+'&_mbox='+this.env.mailbox;
break;
case 'compose':
@@ -964,7 +966,7 @@ function rcube_webmail()
if (id)
{
- this.set_busy(true);
+ this.set_busy(true, 'loading');
target.location.href = this.env.comm_path+'&_action=show&_uid='+id+'&_mbox='+escape(this.env.mailbox)+add_url;
}
};