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

asc_setCellBackgroundColor ошибка, если выбрать color none

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48569 954022d7-b5bf-4e40-9824-e11837661b57
parent d92b2e58
......@@ -2360,8 +2360,9 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
ws.objectRender.controller.setCellBackgroundColor(color);
else
{
if(color instanceof CAscColor)
if(color instanceof CAscColor || null == color)
{
if(null != color)
color = CorrectAscColor(color);
this.wb.getWorksheet().setSelectionInfo("bc", color);
this.wb.restoreFocus();
......
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