Commit d9ea3282 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

canFill, если нет геометрии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51905 954022d7-b5bf-4e40-9824-e11837661b57
parent 7e6c2b42
...@@ -850,7 +850,7 @@ CGraphicObjects.prototype = { ...@@ -850,7 +850,7 @@ CGraphicObjects.prototype = {
paddings: _current_object.getPaddings(), paddings: _current_object.getPaddings(),
w:_current_object.extX, w:_current_object.extX,
h:_current_object.extY, h:_current_object.extY,
canFill: _current_object.spPr.geometry && _current_object.spPr.geometry.canFill() canFill: !_current_object.spPr.geometry || _current_object.spPr.geometry.canFill()
}; };
if(shape_props === null) if(shape_props === null)
...@@ -930,7 +930,7 @@ CGraphicObjects.prototype = { ...@@ -930,7 +930,7 @@ CGraphicObjects.prototype = {
paddings: _current_object.getPaddings(), paddings: _current_object.getPaddings(),
w:_current_object.extX, w:_current_object.extX,
h:_current_object.extY, h:_current_object.extY,
canFill: _current_object.spPr.geometry && _current_object.spPr.geometry.canFill() canFill: !_current_object.spPr.geometry || _current_object.spPr.geometry.canFill()
}; };
if(shape_props === null) if(shape_props === null)
......
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