tryton-sao 7.0.21 → 7.0.22

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 CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ Version 7.0.22 - 2024-12-16
3
+ ---------------------------
4
+ * Bug fixes (see mercurial logs for details)
5
+
6
+
2
7
  Version 7.0.21 - 2024-12-01
3
8
  ---------------------------
4
9
  * Bug fixes (see mercurial logs for details)
@@ -3,7 +3,7 @@
3
3
 
4
4
  /* eslint-disable no-redeclare */
5
5
  var Sao = {
6
- __version__: '7.0.21',
6
+ __version__: '7.0.22',
7
7
  };
8
8
  /* eslint-enable no-redeclare */
9
9
 
@@ -14891,7 +14891,6 @@ function eval_pyson(value){
14891
14891
  var group = new Sao.View.Form.Container(
14892
14892
  Number(node.getAttribute('col') || 4));
14893
14893
  this.view.containers.push(group);
14894
- this.parse_child(node, group);
14895
14894
 
14896
14895
  if (attributes.xalign === undefined) {
14897
14896
  attributes.xalign = 0.5;
@@ -14916,6 +14915,9 @@ function eval_pyson(value){
14916
14915
 
14917
14916
  this.view.state_widgets.push(widget);
14918
14917
  this.container.add(widget, attributes);
14918
+ // Parse the children at the end to preserve the order of the state
14919
+ // widgets
14920
+ this.parse_child(node, group);
14919
14921
  },
14920
14922
  _parse_hpaned: function(node, attributes) {
14921
14923
  this._parse_paned(node, attributes, 'horizontal');
@@ -19018,7 +19020,8 @@ function eval_pyson(value){
19018
19020
  },
19019
19021
  set_readonly: function(readonly) {
19020
19022
  Sao.View.Form.Binary._super.set_readonly.call(this, readonly);
19021
- this.but_select.prop('disabled', readonly);
19023
+ this.but_select.toggleClass('disabled', readonly);
19024
+ this.input_select.toggle(!readonly);
19022
19025
  this.but_clear.prop('disabled', readonly);
19023
19026
  if (this.text) {
19024
19027
  this.text.prop('readonly', readonly);