mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Fix missing annotation parent in using the one from the Fields entry
Fixes #15096.
This commit is contained in:
parent
7c1883a839
commit
3103deaa44
7 changed files with 67 additions and 11 deletions
|
@ -522,7 +522,9 @@ class WorkerMessageHandler {
|
|||
});
|
||||
|
||||
handler.on("GetFieldObjects", function (data) {
|
||||
return pdfManager.ensureDoc("fieldObjects");
|
||||
return pdfManager
|
||||
.ensureDoc("fieldObjects")
|
||||
.then(fieldObjects => fieldObjects?.allFields || null);
|
||||
});
|
||||
|
||||
handler.on("HasJSActions", function (data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue