From cbd5a87684e0e35ba72867ff2eaa868eafbdd69a Mon Sep 17 00:00:00 2001 From: ONLYOFFICE Date: Thu, 21 Aug 2014 15:21:20 +0400 Subject: [PATCH] bug fixed --- OfficeWeb/sdk/Common/NumFormat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OfficeWeb/sdk/Common/NumFormat.js b/OfficeWeb/sdk/Common/NumFormat.js index 22711f0c..47f647c2 100644 --- a/OfficeWeb/sdk/Common/NumFormat.js +++ b/OfficeWeb/sdk/Common/NumFormat.js @@ -1970,7 +1970,8 @@ function CellFormat(format) { } } } - this.oTextFormat = new NumFormat(false).setFormat("@"); + this.oTextFormat = new NumFormat(false); + this.oTextFormat.setFormat("@"); if (null == oPositive || null == oNegative || null == oNull) { for (var i = 0, length = aParsedFormats.length; i < length; ++i) { var oCurFormat = aParsedFormats[i];