changeset 7965517652ff in sao:6.2
details: https://hg.tryton.org/sao?cmd=changeset&node=7965517652ff
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 822ff8579dde -r 7965517652ff src/tab.js
--- a/src/tab.js Fri Dec 03 21:51:29 2021 +0100
+++ b/src/tab.js Thu Dec 16 22:14:22 2021 +0100
@@ -1483,7 +1483,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);