changeset 28d16a85ee0d in sao:default
details: https://hg.tryton.org/sao?cmd=changeset&node=28d16a85ee0d
description:
Check screen limit is None before comparing
issue11015
review389361002
diffstat:
src/tab.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r b79fb1303c31 -r 28d16a85ee0d src/tab.js
--- a/src/tab.js Wed Dec 08 00:38:55 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);