mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #12345 from calixteman/save_btn
Don't try to save something for a button which is neither a checkbox nor a radio
This commit is contained in:
commit
e51e9d1f33
2 changed files with 25 additions and 1 deletions
|
@ -1510,7 +1510,8 @@ class ButtonWidgetAnnotation extends WidgetAnnotation {
|
|||
return this._saveRadioButton(evaluator, task, annotationStorage);
|
||||
}
|
||||
|
||||
return super.save(evaluator, task, annotationStorage);
|
||||
// Nothing to save
|
||||
return null;
|
||||
}
|
||||
|
||||
async _saveCheckbox(evaluator, task, annotationStorage) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue