diff --git a/dev/Common/Utils.js b/dev/Common/Utils.js index 2bf5d52db..e8ff92766 100644 --- a/dev/Common/Utils.js +++ b/dev/Common/Utils.js @@ -444,7 +444,6 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject) !Utils.isUnd(oMatch[1]) && !Utils.isUnd(oMatch[2]) && !Utils.isUnd(oMatch[3])) { sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3]; - sResult = oMatch[1] + (Utils.pInt(oMatch[2]) + 1) + oMatch[3]; } else { @@ -452,7 +451,9 @@ Utils.replySubjectAdd = function (sPrefix, sSubject, bFixLongSubject) } sResult = sResult.replace(/[\s]+/g, ' '); - return (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult; + sResult = (Utils.isUnd(bFixLongSubject) ? true : bFixLongSubject) ? Utils.fixLongSubject(sResult) : sResult; +// sResult = sResult.replace(/^(Re|Fwd)[\s]?\[[\d]+\]:/ig, '$1:'); + return sResult; }; /** diff --git a/rainloop/v/0.0.0/app/templates/Index.html b/rainloop/v/0.0.0/app/templates/Index.html index f421ed9ce..88d87eef3 100644 --- a/rainloop/v/0.0.0/app/templates/Index.html +++ b/rainloop/v/0.0.0/app/templates/Index.html @@ -3,7 +3,7 @@ - +