details: https://code.tryton.org/tryton/commit/3e6dd727f8b5
branch: 7.6
user: Nicolas Évrard <[email protected]>
date: Wed Sep 17 11:41:30 2025 +0200
description:
Use && as the boolean operator instead of &
The typo was introduced in d5338ef23267
(grafted from ec103dad45ac16a043b3d0a156d977d97879053c)
diffstat:
sao/src/view/tree.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r bb31aacc74a8 -r 3e6dd727f8b5 sao/src/view/tree.js
--- a/sao/src/view/tree.js Mon Sep 22 10:24:39 2025 +0200
+++ b/sao/src/view/tree.js Wed Sep 17 11:41:30 2025 +0200
@@ -889,7 +889,7 @@
this.display_size = Sao.config.display_size;
}
}
- if (!this.display_size &
+ if (!this.display_size &&
(!jQuery.isEmptyObject(selected) ||
!jQuery.isEmptyObject(expanded))) {
this.display_size = Sao.config.display_size;