Skip to content

Commit

Permalink
Bug 66739
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Mar 6, 2024
1 parent 6e809b8 commit 0bd58cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js
Original file line number Diff line number Diff line change
Expand Up @@ -1912,7 +1912,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template',
fillIconsLabels: function() {
var arr = this.iconsControls,
len = this.iconsProps.iconsLength,
regstr = new RegExp('^\s*[0-9]+[,.]?[0-9]*\s*$');
regstr = new RegExp('^\s*[-]?[0-9]+[,.]?[0-9]*\s*$');
var val = arr[1].value.getValue();
arr[0].label.text(Common.Utils.String.format(this.textIconLabelFirst, arr[1].cmbOperator.getSelectedRecord().prevOp, regstr.test(val) ? parseFloat(val) : this.textFormula));
for (var i=1; i<len-1; i++) {
Expand Down

0 comments on commit 0bd58cd

Please sign in to comment.