tryton-sao 5.0.46 → 5.0.47

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 5.0.47 - 2022-01-01
2
+ * Bug fixes (see mercurial logs for details)
3
+
1
4
  Version 5.0.46 - 2021-12-03
2
5
  * Bug fixes (see mercurial logs for details)
3
6
 
package/COPYRIGHT CHANGED
@@ -1,7 +1,7 @@
1
1
  Copyright (C) 2012-2021 Nicolas Évrard.
2
- Copyright (C) 2012-2021 Cédric Krier.
2
+ Copyright (C) 2012-2022 Cédric Krier.
3
3
  Copyright (C) 2012-2014 Bertrand Chenal.
4
- Copyright (C) 2012-2021 B2CK SPRL.
4
+ Copyright (C) 2012-2022 B2CK SPRL.
5
5
  Copyright (C) 2019 Jitbit.
6
6
 
7
7
  This program is free software: you can redistribute it and/or modify
@@ -6493,7 +6493,9 @@ var Sao = {};
6493
6493
  this.buttons.switch_.prop('disabled',
6494
6494
  this.attributes.view_ids > 1);
6495
6495
  var msg = name + ' / ' + data[1];
6496
- if ((data[1] < data[2]) && (data[2] > this.screen.limit)) {
6496
+ if ((data[1] < data[2]) &&
6497
+ this.screen.limit !== null &&
6498
+ (data[2] > this.screen.limit)) {
6497
6499
  msg += Sao.i18n.gettext(' of ') + data[2];
6498
6500
  }
6499
6501
  this.status_label.text(msg).attr('title', msg);
@@ -9607,14 +9609,12 @@ function eval_pyson(value){
9607
9609
  'aria-controls': this.collapsible.attr('id'),
9608
9610
  'aria-expanded': attributes.expandable == '1',
9609
9611
  }).appendTo(title);
9610
- link.append(jQuery('<div/>', {
9611
- 'class': 'btn btn-sm',
9612
- }).append(jQuery('<span/>', {
9613
- 'class': 'caret',
9614
- })));
9615
9612
  if (attributes.string) {
9616
9613
  link.text(attributes.string);
9617
9614
  }
9615
+ link.append(jQuery('<span/>', {
9616
+ 'class': 'caret',
9617
+ }));
9618
9618
  },
9619
9619
  add: function(widget) {
9620
9620
  this.body.empty();