[XFA] Set default max value in occur tag to -1 (bug 1998843)
This commit is contained in:
parent
8f0c62990e
commit
516aea5562
@ -3899,7 +3899,7 @@ class Occur extends XFAObject {
|
|||||||
attributes.max !== ""
|
attributes.max !== ""
|
||||||
? getInteger({
|
? getInteger({
|
||||||
data: attributes.max,
|
data: attributes.max,
|
||||||
defaultValue: 1,
|
defaultValue: -1,
|
||||||
validate: x => true,
|
validate: x => true,
|
||||||
})
|
})
|
||||||
: "";
|
: "";
|
||||||
|
|||||||
1
test/pdfs/xfa_bug1998843.pdf.link
Normal file
1
test/pdfs/xfa_bug1998843.pdf.link
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://bugzilla.mozilla.org/attachment.cgi?id=9525217
|
||||||
@ -13067,5 +13067,15 @@
|
|||||||
"type": "extract",
|
"type": "extract",
|
||||||
"includePages": [0],
|
"includePages": [0],
|
||||||
"pageMapping": { "1": 1 }
|
"pageMapping": { "1": 1 }
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "xfa_bug1998843",
|
||||||
|
"file": "pdfs/xfa_bug1998843.pdf",
|
||||||
|
"md5": "b7b25e5b05b2b903d0a6727c9f962a91",
|
||||||
|
"link": true,
|
||||||
|
"rounds": 1,
|
||||||
|
"enableXfa": true,
|
||||||
|
"lastPage": 1,
|
||||||
|
"type": "eq"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user