Author |
|
willam Newbie
Joined: 04 November 2009
Online Status: Offline Posts: 14
|
Posted: 23 August 2010 at 10:56am | IP Logged
|
|
|
Hi,
When a message is displayed (not just in preview) and gets deleted, is it possible to configure webmail to return to the message list rather than display the next message?
Thanks.
Best,
Gabor
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 August 2010 at 3:50am | IP Logged
|
|
|
This can be achieved with a really simple modification of the code. Check js/mail/view-message-screen.js file, line 145:
Code:
case TYPE_MESSAGES_OPERATION:
if (Data && Data.GetMessageAfterDelete) {
this.GetNextMessage(true);
}
/*
SetHistoryHandler(
{
ScreenId: WebMail.ListScreenId
}
);
*/
break; |
|
|
It should be modified as follows:
Code:
case TYPE_MESSAGES_OPERATION:
/*
if (Data && Data.GetMessageAfterDelete) {
this.GetNextMessage(true);
}
*/
SetHistoryHandler(
{
ScreenId: WebMail.ListScreenId
}
);
break; |
|
|
Be sure to clear web browser cache to apply changes.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
willam Newbie
Joined: 04 November 2009
Online Status: Offline Posts: 14
|
Posted: 24 August 2010 at 10:13am | IP Logged
|
|
|
Works like a charm, thank you.
|
Back to Top |
|
|