changeset b0f4b3ba5a86 in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset;node=b0f4b3ba5a86
description:
Test the right parameter in Tab.Board.compare
issue8601
review285891002
(grafted from 3e4c801fc3132580466040d34f8e1abb18e68ccb)
diffstat:
src/tab.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r bb7940489b8a -r b0f4b3ba5a86 src/tab.js
--- a/src/tab.js Sun Aug 25 12:46:56 2019 +0200
+++ b/src/tab.js Sun Aug 25 13:01:53 2019 +0200
@@ -1181,7 +1181,7 @@
this.title.html(this.name_el.text());
},
compare: function(attributes) {
- if (!value) {
+ if (!attributes) {
return false;
}
var compare = Sao.common.compare;