From 414f91416510bc350fb1d4698a168c0f604e6382 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 19 Apr 2019 17:25:35 +0300 Subject: [PATCH] [SSE] Disable cell settings on start --- apps/spreadsheeteditor/main/app/view/CellSettings.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/CellSettings.js b/apps/spreadsheeteditor/main/app/view/CellSettings.js index 735fce90a..a7a60e10b 100644 --- a/apps/spreadsheeteditor/main/app/view/CellSettings.js +++ b/apps/spreadsheeteditor/main/app/view/CellSettings.js @@ -262,13 +262,15 @@ define([ value: '0 °', allowDecimal: false, maxValue: 90, - minValue: -90 + minValue: -90, + disabled: this._locked }); this.lockedControls.push(this.spnAngle); this.spnAngle.on('change', _.bind(this.onAngleChange, this)); this.btnTextToColumn = new Common.UI.Button({ - el: $('#cell-btn-text-to-column') + el: $('#cell-btn-text-to-column'), + disabled: this._locked }); this.btnTextToColumn.on('click', _.bind(this.onTextToColumn, this)); this.lockedControls.push(this.btnTextToColumn);