mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 07:37:57 +02:00
XFA - Fix error when creating a new data node
- fix for issue #13556; - value in a field can be empty.
This commit is contained in:
parent
a4e8f3bdee
commit
150fa3d96e
4 changed files with 19 additions and 4 deletions
|
@ -313,7 +313,7 @@ function createDataNode(root, container, expr) {
|
|||
}
|
||||
root = child;
|
||||
} else {
|
||||
parsed[i].index = children.length - index;
|
||||
parsed[i].index = index - children.length;
|
||||
return createNodes(root, parsed.slice(i));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue