changeset 90d501d3e9ed in sao:5.2
details: https://hg.tryton.org/sao?cmd=changeset;node=90d501d3e9ed
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 6441e153032d -r 90d501d3e9ed 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
@@ -1354,7 +1354,7 @@
this.title.html(this.name_el.text());
},
compare: function(attributes) {
- if (!value) {
+ if (!attributes) {
return false;
}
var compare = Sao.common.compare;