Commit ca3e0b90 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Проверка на пустую ячейку

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47262 954022d7-b5bf-4e40-9824-e11837661b57
parent 979e0dec
...@@ -1072,10 +1072,8 @@ ...@@ -1072,10 +1072,8 @@
if (!(oRuleElement instanceof asc.CColorScale)) if (!(oRuleElement instanceof asc.CColorScale))
break; break;
aCFs[i].SqRefRange._setPropertyNoEmpty(null, null, function (c) { aCFs[i].SqRefRange._setPropertyNoEmpty(null, null, function (c) {
if (CellValueType.Number === c.getType()) { if (CellValueType.Number === c.getType() && false === c.isEmptyTextString()) {
tmp = parseInt(c.getValueWithoutFormat()); tmp = parseInt(c.getValueWithoutFormat());
if (isNaN(tmp))
return;
arrayCells.push({cell: c, val: tmp}); arrayCells.push({cell: c, val: tmp});
min = Math.min(min, tmp); min = Math.min(min, tmp);
max = Math.max(max, tmp); max = Math.max(max, tmp);
......
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