Skip to content

Commit 2a64f9c

Browse files
[Pdf] Fix applying export value for checkbox (try to send empty value)
1 parent a9a980b commit 2a64f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/pdfeditor/main/app/view/FormSettings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ define([
680680
onExportChanged: function(input, newValue, oldValue, e) {
681681
this._state.Export = undefined;
682682
if (this.api && !this._noApply && (newValue!==oldValue)) {
683-
newValue && this.api.SetCheckboxFieldExportValue(newValue);
683+
this.api.SetCheckboxFieldExportValue(newValue);
684684
if (!e.relatedTarget || (e.relatedTarget.localName != 'input' && e.relatedTarget.localName != 'textarea') || !/form-control/.test(e.relatedTarget.className))
685685
this.fireEvent('editcomplete', this);
686686
}

0 commit comments

Comments
 (0)