Commit 518899bd authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Правка для отрицательных значений для ConditionalFormatting в colorScale

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47280 954022d7-b5bf-4e40-9824-e11837661b57
parent 23e8f695
......@@ -1044,11 +1044,11 @@
_initConditionalFormatting: function () {
var oGradient = null;
var aCFs = this.model.aConditionalFormatting;
var aRules = null;
var oRule = null;
var aRules, oRule;
var oRuleElement = null;
var min = Number.MAX_VALUE;
var max = Number.MIN_VALUE, tmp;
var max = -Number.MAX_VALUE;
var tmp;
var arrayCells = [];
for (var i in aCFs) {
if (!aCFs.hasOwnProperty(i) )
......@@ -1097,7 +1097,7 @@
arrayCells.splice(0, arrayCells.length);
min = Number.MAX_VALUE;
max = Number.MIN_VALUE;
max = -Number.MAX_VALUE;
}
}
},
......
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