changeset 414fdc2183b7 in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=414fdc2183b7
description:
Check screen limit is None before comparing
issue11015
review389361002
(grafted from 28d16a85ee0d4bb2c7b160e7ee859f7badea216d)
diffstat:
src/tab.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 859d97cfec1a -r 414fdc2183b7 src/tab.js
--- a/src/tab.js Fri Dec 03 21:52:02 2021 +0100
+++ b/src/tab.js Thu Dec 16 22:14:22 2021 +0100
@@ -1482,7 +1482,9 @@
'disabled', this.screen.readonly);
var msg = name + ' / ' + data[1];
- if ((data[1] < data[2]) && (data[2] > this.screen.limit)) {
+ if ((data[1] < data[2]) &&
+ this.screen.limit !== null &&
+ (data[2] > this.screen.limit)) {
msg += Sao.i18n.gettext(' of ') + data[2];
}
this.status_label.text(msg).attr('title', msg);