Commit a25fe296 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

ошибки при распознавании ($1 и $1)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55846 954022d7-b5bf-4e40-9824-e11837661b57
parent c65baa3c
...@@ -2678,8 +2678,12 @@ FormatParser.prototype = ...@@ -2678,8 +2678,12 @@ FormatParser.prototype =
bError = true; bError = true;
} }
} }
if(2 == nBracket) if (nBracket > 0) {
if (2 == nBracket)
bMinus = true; bMinus = true;
else
bError = true;
}
var CurrencyNegativePattern = cultureInfo.CurrencyNegativePattern; var CurrencyNegativePattern = cultureInfo.CurrencyNegativePattern;
if(null != sCurrency){ if(null != sCurrency){
if (sCurrency == cultureInfo.CurrencySymbol) { if (sCurrency == cultureInfo.CurrencySymbol) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment