Select right model string from selection for Reference field in tree view
issue6260 review31101002
This commit is contained in:
1 parent
3ab28d5fe6
commit
03ffec735a
1 file changed
+7
-1
+7
-1
@@ -1494,7 +1494,13 @@
|
||||
name = value[1];
|
||||
}
|
||||
if (model) {
|
||||
cell.text(this.selection[model] || model + ',' + name);
|
||||
for (var i = 0, len = this.selection.length; i < len; i++) {
|
||||
if (this.selection[i][0] === model) {
|
||||
model = this.selection[i][1];
|
||||
break;
|
||||
}
|
||||
}
|
||||
cell.text(model + ',' + name);
|
||||
} else {
|
||||
cell.text(name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user