From b20e2d7b375b4dd48b144b1d05bd4c7401921264 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 4 Mar 2021 00:28:43 +0300 Subject: [PATCH] [SSE] Fix location --- .../spreadsheeteditor/main/app/view/FormatRulesManagerDlg.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/view/FormatRulesManagerDlg.js b/apps/spreadsheeteditor/main/app/view/FormatRulesManagerDlg.js index 1e98c5e07..b4669ee4b 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatRulesManagerDlg.js +++ b/apps/spreadsheeteditor/main/app/view/FormatRulesManagerDlg.js @@ -453,6 +453,11 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesManagerDlg.templa allowBlank : true, disabled : !item.get('activeSheet'), validateOnChange: true + }).on('changed:after', function(input, newValue, oldValue, e) { + rule.dataRangeValid = newValue; + rule.txtDataRange.setValue(rule.dataRangeValid); + item.set('ruleChanged', true); + item.get('props').asc_setLocation(rule.dataRangeValid); }).on('button:click', _.bind(this.onSelectData, this, rule, item)); var val = item.get('range');