[SSE] Fix Bug 33007

This commit is contained in:
Julia Radzhabova 2016-08-29 11:01:44 +03:00
parent 6d981df473
commit b62a98c7aa

View file

@ -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');