From c99349fc033fcbfdb738f90de9e7a00cf638c7e9 Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Thu, 20 Feb 2014 15:51:33 +0400 Subject: [PATCH] Allows zooming in on mobile and tablet devices. --- dev/Common/Utils.js | 5 +++-- rainloop/v/0.0.0/app/templates/Index.html | 2 +- rainloop/v/0.0.0/static/ckeditor/plugins/plain/plugin.js | 2 ++ rainloop/v/0.0.0/static/js/admin.js | 5 +++-- rainloop/v/0.0.0/static/js/admin.min.js | 2 +- rainloop/v/0.0.0/static/js/app.js | 5 +++-- rainloop/v/0.0.0/static/js/app.min.js | 2 +- 7 files changed, 14 insertions(+), 9 deletions(-) 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 @@ - +