merge of '80ee287e0046c4751abaf3d29d9cd9e8ae26aefe'

and 'bc909db8c63cb08ea501f98b8d389496859c09b8'
This commit is contained in:
privateer
2010-11-27 01:19:05 +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 ) {