Commit 5e4ecea7 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=30560 - [Autosave][Undo&Redo]Повреждение...

http://bugzserver/show_bug.cgi?id=30560 - [Autosave][Undo&Redo]Повреждение файла и потеря данных после скрытия значения форматированной таблицы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65270 954022d7-b5bf-4e40-9824-e11837661b57
parent 7b950875
......@@ -4762,7 +4762,12 @@ Filters.prototype.init = function(obj) {
this.Dates.push(autoFilterDateElem);
}
else
this.Values[obj.values[i].text] = true;
{
if(obj.values[i].text === "")
this.Blank = true;
else
this.Values[obj.values[i].text] = true;
}
}
else
allFilterOpenElements = false;
......@@ -4777,7 +4782,14 @@ Filters.prototype.isHideValue = function(val, isDateTimeFormat) {
if(isDateTimeFormat && this.Dates)
res = this.binarySearch(val, this.Dates) !== -1 ? false : true;
else if(this.Values)
res = !this.Values[val] ? true : false;
{
if(val === "")
{
res = !this.Blank ? true : false;
}
else
res = !this.Values[val] ? true : false;
}
return res;
};
......
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