merge of '55a577eea2afce7c3027ebe2eb4ad0032b40f9df'

and 'b48269d2804fffb770351d55a37643c0dcc508ec'
This commit is contained in:
z3d
2010-11-27 02:14:26 +00:00

View File

@ -851,14 +851,16 @@ public class WebMail extends HttpServlet
/*
* folder view
*/
if( sessionObject.state == STATE_LIST ) {
if( sessionObject.state == STATE_LIST || sessionObject.state == STATE_SHOW) {
/*
* check if user wants to view a message
*/
String show = request.getParameter( SHOW );
if( show != null && show.length() > 0 ) {
try {
int id = Integer.parseInt( show );
if( id >= 0 && id < sessionObject.folder.getPageSize() ) {
String uidl = (String)sessionObject.folder.getElementAtPosXonCurrentPage( id );
if( uidl != null ) {