tryton-sao 6.4.3 → 6.4.4

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,3 +1,6 @@
1
+ Version 6.4.4 - 2022-08-17
2
+ * Bug fixes (see mercurial logs for details)
3
+
1
4
  Version 6.4.3 - 2022-07-01
2
5
  * Bug fixes (see mercurial logs for details)
3
6
 
@@ -9164,9 +9164,10 @@ html[theme="default"] .carousel-caption h6 {
9164
9164
  content: "";
9165
9165
  background-color: rgba(0, 0, 0, 0);
9166
9166
  }
9167
- button {
9168
- overflow-y: hidden;
9167
+ .btn-horizontal {
9168
+ overflow: hidden;
9169
9169
  text-overflow: ellipsis;
9170
+ white-space: nowrap;
9170
9171
  }
9171
9172
  .input-group > .form-control-feedback {
9172
9173
  z-index: 3;
@@ -848,6 +848,7 @@ var Sao = {};
848
848
  set_visible: function() {
849
849
  },
850
850
  get_visible: function() {
851
+ return true;
851
852
  },
852
853
  favorite_click: function(e) {
853
854
  // Prevent activate the action of the row
@@ -3823,8 +3824,9 @@ var Sao = {};
3823
3824
  }).prependTo(this.el);
3824
3825
  this.icon.hide();
3825
3826
  }
3826
- this.el.addClass(
3827
- ['btn', (style || 'btn-default'), (size || '')].join(' '));
3827
+ this.el.addClass([
3828
+ 'btn', 'btn-horizontal',
3829
+ (style || 'btn-default'), (size || '')].join(' '));
3828
3830
  this.el.attr('type', 'button');
3829
3831
  this.icon.attr('aria-hidden', true);
3830
3832
  this.set_icon(attributes.icon);
@@ -14728,7 +14730,7 @@ function eval_pyson(value){
14728
14730
  let i = 0;
14729
14731
  row.children().map(function() {
14730
14732
  var cell = jQuery(this);
14731
- var colspan = Math.min(Number(cell.attr('colspan')), col);
14733
+ var colspan = Math.min(Number(cell.attr('colspan')), col || 1);
14732
14734
  if (cell.hasClass('xexpand') &&
14733
14735
  (!jQuery.isEmptyObject(cell.children())) &&
14734
14736
  (cell.children(':not(.tooltip)').css('display') != 'none')) {
@@ -14748,7 +14750,7 @@ function eval_pyson(value){
14748
14750
  var reduce = function(previous, current) {
14749
14751
  var cell = current[0];
14750
14752
  var colspan = Math.min(
14751
- Number(cell.attr('colspan')), col);
14753
+ Number(cell.attr('colspan')), col || 1);
14752
14754
  return previous + colspan;
14753
14755
  };
14754
14756
  return a.reduce(reduce, 0) - b.reduce(reduce, 0);
@@ -14763,7 +14765,8 @@ function eval_pyson(value){
14763
14765
  for (const e of xexpands) {
14764
14766
  var cell = e[0];
14765
14767
  let i = e[1];
14766
- const colspan = Math.min(Number(cell.attr('colspan')), col);
14768
+ const colspan = Math.min(
14769
+ Number(cell.attr('colspan')), col || 1);
14767
14770
  var current_width = 0;
14768
14771
  for (let j = 0; j < colspan; j++) {
14769
14772
  current_width += widths[i + j] || 0;
@@ -14791,7 +14794,8 @@ function eval_pyson(value){
14791
14794
  let i = 0;
14792
14795
  for (let cell of row.children()) {
14793
14796
  cell = jQuery(cell);
14794
- const colspan = Math.min(Number(cell.attr('colspan')), col);
14797
+ const colspan = Math.min(
14798
+ Number(cell.attr('colspan')), col || 1);
14795
14799
  if (cell.hasClass('xexpand') &&
14796
14800
  (cell.children(':not(.tooltip)').css('display') !=
14797
14801
  'none')) {
@@ -19741,6 +19745,9 @@ function eval_pyson(value){
19741
19745
  'class': 'optional',
19742
19746
  });
19743
19747
  this.thead.children().prepend(th);
19748
+ if (this.tfoot) {
19749
+ this.tfoot.children().prepend(jQuery('<th/>'));
19750
+ }
19744
19751
  }
19745
19752
  var menu = jQuery('<ul/>', {
19746
19753
  'class': 'dropdown-menu',
@@ -9164,9 +9164,10 @@ html[theme="default"] .carousel-caption h6 {
9164
9164
  content: "";
9165
9165
  background-color: rgba(0, 0, 0, 0);
9166
9166
  }
9167
- button {
9168
- overflow-y: hidden;
9167
+ .btn-horizontal {
9168
+ overflow: hidden;
9169
9169
  text-overflow: ellipsis;
9170
+ white-space: nowrap;
9170
9171
  }
9171
9172
  .input-group > .form-control-feedback {
9172
9173
  z-index: 3;