mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Don't replace Acroform dictionary if nothing has changed when saving (bug 1844572)
This commit is contained in:
parent
1a69b6ad64
commit
33fdec1392
5 changed files with 38 additions and 3 deletions
|
@ -231,7 +231,7 @@ async function updateAcroform({
|
|||
warn("XFA - Cannot save it");
|
||||
}
|
||||
|
||||
if (!needAppearances && (!hasXfa || !xfaDatasetsRef)) {
|
||||
if (!needAppearances && (!hasXfa || !xfaDatasetsRef || hasXfaDatasetsEntry)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue