ru.coon 2.7.63 → 2.7.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# Version 2.7.64, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8b0b9a392f1f27837b2ef59a39ab5e0cfb4c6167)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'> TR-68748: set aceEditor value on render editor</span> ([91d6a5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/91d6a540b1c59bf30fc9b137d713dab6fd10f23c))
|
|
4
|
+
* <span style='color:red'> TR-68748: set aceEditor value on render editor</span> ([d9104a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d9104adce83918b72fa7d97032a33c3f5faf402e))
|
|
5
|
+
|
|
6
|
+
* update: CHANGELOG.md ([eadbfc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/eadbfcd1f66dc7e59c26b198c160054c7140fa5b))
|
|
7
|
+
|
|
1
8
|
# Version 2.7.63, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3105569cc716302c9533958daa3aef9dbdc0e6a8)
|
|
2
9
|
* ## Fixes
|
|
3
10
|
* <span style='color:red'> BFL-14999: check north panel exists</span> ([cbc17a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cbc17a278fd1468539fe081d29fdd3819df51b08))
|
package/package.json
CHANGED
|
@@ -12,6 +12,7 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
|
|
|
12
12
|
cls: 'ace_editor ace_hidpi ace-xcode',
|
|
13
13
|
config: {
|
|
14
14
|
value: '',
|
|
15
|
+
originalValue: null,
|
|
15
16
|
readOnly: false,
|
|
16
17
|
useLinter: false,
|
|
17
18
|
enableEmptyValue: false,
|
|
@@ -95,6 +96,7 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
|
|
|
95
96
|
|
|
96
97
|
updateValue: function(value) {
|
|
97
98
|
if (!this.editor) {
|
|
99
|
+
this.setOriginalValue(value);
|
|
98
100
|
return;
|
|
99
101
|
}
|
|
100
102
|
this.setValue(value);
|
|
@@ -102,13 +104,14 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
|
|
|
102
104
|
|
|
103
105
|
getValue: function() {
|
|
104
106
|
if (!this.editor) {
|
|
105
|
-
return;
|
|
107
|
+
return this.getOriginalValue();
|
|
106
108
|
}
|
|
107
109
|
return this.editor.getValue();
|
|
108
110
|
},
|
|
109
111
|
|
|
110
112
|
setValue: function(value) {
|
|
111
113
|
if (!this.editor) {
|
|
114
|
+
this.setOriginalValue(value);
|
|
112
115
|
return;
|
|
113
116
|
}
|
|
114
117
|
const pos = this.editor.getCursorPosition();
|
|
@@ -282,6 +285,9 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
|
|
|
282
285
|
this.markClean();
|
|
283
286
|
}
|
|
284
287
|
this.linterInitialized = true;
|
|
288
|
+
if (this.getOriginalValue() !== null && this.getOriginalValue() !== undefined) {
|
|
289
|
+
this.setValue(this.getOriginalValue());
|
|
290
|
+
}
|
|
285
291
|
this.fireEvent('ready', this);
|
|
286
292
|
},
|
|
287
293
|
|
package/src/version.js
CHANGED