Bug 7178 follow-up: Do not fill items table with "(undefined)"
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
2c27c86b35
commit
dd231b0ca7
|
|
@ -65,6 +65,9 @@ function constructTrNode(index, unique_item_fields) {
|
|||
} else {
|
||||
field_value = $(field_elt).val();
|
||||
}
|
||||
if (field_value == undefined) {
|
||||
field_value = '';
|
||||
}
|
||||
result += "<td>" + field_value + "</td>";
|
||||
}
|
||||
result += "</tr>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue