Author |
|
theodeg Newbie
Joined: 20 December 2016 Location: Netherlands
Online Status: Offline Posts: 1
|
Posted: 20 December 2016 at 8:47am | IP Logged
|
|
|
Hi there,
Really love AfterLogic WebMail Lite. I'm using it for quite some years now and it is still working like a charm!
Question: i have an archive folder under the 'Sent items' folder. In the Sent items folder the listview perfectly displays the 'To' name or e-mailaddress like it should. But in the subfolder listview it shows the 'From' ('me') in stead of the 'To' name or e-mailaddress. Is there any way i could change that?
Thanks for making available this great software!
Kind regards,
Theo
My Version: 7.6.10
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 December 2016 at 11:37pm | IP Logged
|
|
|
Hello Theo,
In static/js/app.js file, locate the following function:
Code:
CMessageModel.prototype.fillFromOrToText = function () |
|
|
and replace its code with:
Code:
CMessageModel.prototype.fillFromOrToText = function ()
{
var
oFolderList = App.MailCache.folderList(),
oFolder = oFolderList ? oFolderList.getFolderByFullName(this.folder()) : null,
oSent = oFolderList ? oFolderList.sentFolder() : null,
oDraft = oFolderList ? oFolderList.draftsFolder() : null,
oAccount = AppData.Accounts.getAccount(this.accountId())
;
if (oFolder && (oSent && oFolder.fullName().indexOf(oSent.fullName()) !== -1 || oDraft && oFolder.fullName().indexOf(oDraft.fullName()) !== -1))
{
this.fromOrToText(this.oTo.getDisplay(Utils.i18n('MESSAGE/ME_RECIPIENT'), oAccount.email()));
}
else
{
this.fromOrToText(this.oFrom.getDisplay(Utils.i18n('MESSAGE/ME_SENDER'), oAccount.email()));
}
}; |
|
|
To apply these changes, disable use of minified app.js file in settings add the following item to array defined in data/settings/config.php file:
Code:
'labs.use-app-min-js' => false, |
|
|
Also, we will consider adding this kind of modification into the regular release of the product.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|