If you are viewing the contents of an email message, and you press the delete
button, where should you go?
Hotmail and Yahoo! Mail take you to the next message. Gmail takes you back to
the message list. Currently, RC|Mail takes you back to the message list.
I think I prefer being taken to the next message. Attached is a patch which
will cause RC|Mail to do exactly that: display the next message, unless you
are viewing the last message, in which case, take you back to the message
list.
--
Jacob Brunson
BYU Chemistry Department Webmaster
Index: program/js/app.js
===================================================================
RCS file: /cvsroot/roundcubemail/roundcubemail/program/js/app.js,v
retrieving revision 1.38
diff -u -r1.38 app.js
--- program/js/app.js 27 Mar 2006 19:07:13 -0000 1.38
+++ program/js/app.js 31 Mar 2006 19:34:10 -0000
@@ -2916,7 +2916,10 @@
case 'delete':
case 'moveto':
if (this.env.action=='show')
- this.command('list');
+ if (this.env.next_uid)
+ this.command('nextmessage');
+ else
+ this.command('list');
break;
case 'list':