From 814483f7a78f4cecd391491479550af7da65c785 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 9 Aug 2021 12:35:21 +0300 Subject: [PATCH] [SSE] Fix Bug 51785 --- apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js index 5ef8ac76e..a588ff9a2 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js +++ b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js @@ -1407,8 +1407,10 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template', barProps.asc_setBorderColor(Common.Utils.ThemeColor.getRgbColor(this.btnPosBorder.colorPicker.currentColor)); barProps.asc_setNegativeBorderColor(Common.Utils.ThemeColor.getRgbColor(this.chBorder.getValue()=='checked' ? this.btnPosBorder.colorPicker.currentColor : this.btnNegBorder.colorPicker.currentColor)); barProps.asc_setNegativeBarBorderColorSameAsPositive(this.chBorder.getValue()=='checked'); - } else + } else { barProps.asc_setBorderColor(null); + barProps.asc_setNegativeBorderColor(null); + } barProps.asc_setDirection(this.cmbBarDirection.getValue()); barProps.asc_setShowValue(this.chShowBar.getValue()!=='checked');