Commit b62a98c7 authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Fix Bug 33007

parent 6d981df4
......@@ -530,7 +530,7 @@ define([
onHorizontalAlign: function(type, btn, e) {
this._state.pralign = undefined;
if (this.api) {
this.api.asc_setCellAlign(!btn.pressed ? 'left' : type);
this.api.asc_setCellAlign(!btn.pressed ? 'none' : type);
this.toolbar.btnWrap.allowDepress = !(type == 'justify');
}
......@@ -550,7 +550,7 @@ define([
this._state.pralign = undefined;
if (this.api)
this.api.asc_setCellAlign(!item.checked ? 'left' : item.value);
this.api.asc_setCellAlign(!item.checked ? 'none' : item.value);
this.toolbar.btnWrap.allowDepress = !(item.value == 'justify');
......
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