Author |
|
niniane Newbie
Joined: 12 May 2015 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 12 May 2015 at 6:19am | IP Logged
|
|
|
Hi,
I noticed that replies have threading in the subject line, and they show up as "RE[2]: subject line here".
I would like to remove [n] from the subject line so replies look like "RE: subject here" without the numbering, but I only found really old posts in this forum that aren't relevant any more.
I've been editing it out when replying to an email, but that's not ideal. I'm hoping to edit some code so I don't have to continue doing this any more.
Does someone here know how to remove the numbering from the subject line with the current version of Webmail PHP Pro?
Thanks for reading!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 12 May 2015 at 6:46am | IP Logged
|
|
|
In static/js/app.js file, locate the following code:
Code:
CMessageSender.prototype.subjectCompiler = function (sSubject, bRe)
{
sSubject = Utils.trim(sSubject.replace(/[\s]+/g, ' '));
var
bAddCounts = true,
... |
|
|
Setting bAddCounts to false will have the effect you're looking for.
Note that this file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:
Code:
'labs.use-app-min-js' => false, |
|
|
Also, be sure to clear browser cache to apply changes.
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
niniane Newbie
Joined: 12 May 2015 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 12 May 2015 at 1:59pm | IP Logged
|
|
|
Thank you for your speedy reply and help -- it worked like a charm!
Thanks again!
|
Back to Top |
|
|