From b62a98c7aaf4af4bb8be079dab49231b3f66e9e9 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 29 Aug 2016 11:01:44 +0300 Subject: [PATCH] [SSE] Fix Bug 33007 --- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 21fc5848c..d605b098c 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -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');