Merge pull request #13764 from Snuffleupagus/issue-13748
XFA - Add a missing method to `XFAAttribute`, to prevent breaking errors (issue 13748)
This commit is contained in:
commit
6c9b6bc599
@ -745,6 +745,10 @@ class XFAAttribute {
|
||||
return true;
|
||||
}
|
||||
|
||||
[$getDataValue]() {
|
||||
return this[$content].trim();
|
||||
}
|
||||
|
||||
[$setValue](value) {
|
||||
value = value.value || "";
|
||||
this[$content] = value.toString();
|
||||
|
1
test/pdfs/issue13748.pdf.link
Normal file
1
test/pdfs/issue13748.pdf.link
Normal file
@ -0,0 +1 @@
|
||||
https://github.com/mozilla/pdf.js/files/6849364/IFT-3R.7._v1-1E.pdf
|
@ -1347,6 +1347,15 @@
|
||||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue13748",
|
||||
"file": "pdfs/issue13748.pdf",
|
||||
"md5": "de0e4dde2890b9ff145a3184831bae02",
|
||||
"link": true,
|
||||
"rounds": 1,
|
||||
"lastPage": 1,
|
||||
"enableXfa": true,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue13756",
|
||||
"file": "pdfs/issue13756.pdf",
|
||||
"md5": "67040c6df3b5039fcbc81bf63b7c7f98",
|
||||
|
Loading…
x
Reference in New Issue
Block a user