mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
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
3 changed files with 14 additions and 0 deletions
|
@ -745,6 +745,10 @@ class XFAAttribute {
|
|||
return true;
|
||||
}
|
||||
|
||||
[$getDataValue]() {
|
||||
return this[$content].trim();
|
||||
}
|
||||
|
||||
[$setValue](value) {
|
||||
value = value.value || "";
|
||||
this[$content] = value.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue