Commit 06180a66 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

проблемы с диагональными бордерами.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60342 954022d7-b5bf-4e40-9824-e11837661b57
parent 996f64ed
......@@ -5430,6 +5430,7 @@ Range.prototype._setBorderMerge=function(bLeft, bTop, bRight, bBottom, oNewBorde
oTargetBorder.b = oNewBorder.b;
else
oTargetBorder.b = oNewBorder.ih;
oTargetBorder.d = oNewBorder.d;
oTargetBorder.dd = oNewBorder.dd;
oTargetBorder.du = oNewBorder.du;
var oRes = null;
......
......@@ -933,9 +933,9 @@ Border.prototype =
if(border.iv)
this.iv.merge(border.iv);
if(null != border.dd)
this.dd = border.dd;
this.dd = this.dd || border.dd;
if(null != border.du)
this.du = border.du;
this.du = this.du || border.du;
}
},
getType : function()
......
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