Commit da27fb06 authored by konovalovsergey's avatar konovalovsergey

undo align property

parent 56f38a40
...@@ -2738,7 +2738,7 @@ StyleManager.prototype = ...@@ -2738,7 +2738,7 @@ StyleManager.prototype =
_setAlignProperty : function(oItemWithXfs, val, prop, getFunc, setFunc) _setAlignProperty : function(oItemWithXfs, val, prop, getFunc, setFunc)
{ {
var xfs = oItemWithXfs.xfs; var xfs = oItemWithXfs.xfs;
var oRes = {newVal: val, oldVal: xfs && xfs.align ? getFunc.call(xfs.align): null}; var oRes = {newVal: val, oldVal: xfs && xfs.align ? getFunc.call(xfs.align): getFunc.call(g_oDefaultFormat.Align)};
xfs = this._initXf(oItemWithXfs); xfs = this._initXf(oItemWithXfs);
var xfsOperationCache = xfs; var xfsOperationCache = xfs;
var newXf = xfs.getOperationCache(prop, val); var newXf = xfs.getOperationCache(prop, val);
......
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