fix in copy doc
This commit is contained in:
parent
aac53b37ec
commit
5f7f4eab5f
1 changed files with 1 additions and 1 deletions
|
|
@ -976,7 +976,7 @@ _f.Frm.prototype.copy_doc = function(onload, from_amend) {
|
|||
d1 = dl[d];
|
||||
|
||||
// get tabel field
|
||||
if(!tf_dict[d1.parentfield]) {
|
||||
if(d1.parentfield && !tf_dict[d1.parentfield]) {
|
||||
tf_dict[d1.parentfield] = wn.meta.get_docfield(d1.parenttype, d1.parentfield);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue