mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-08 08:05:49 +02:00
Compare commits
2 Commits
b47b248e15
...
2e10ff6dd4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e10ff6dd4 | ||
|
|
8af06a4c60 |
@ -607,6 +607,11 @@ class App extends PDFObject {
|
||||
}
|
||||
|
||||
response(cQuestion, cTitle = "", cDefault = "", bPassword = "", cLabel = "") {
|
||||
if (!this._document.obj._userActivation) {
|
||||
return null;
|
||||
}
|
||||
this._document.obj._userActivation = false;
|
||||
|
||||
if (cQuestion && typeof cQuestion === "object") {
|
||||
cDefault = cQuestion.cDefault;
|
||||
cQuestion = cQuestion.cQuestion;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user