mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 16:57:48 +08:00
[Pdf] Fix applying export value for checkbox (try to send empty value)
This commit is contained in:
@ -680,7 +680,7 @@ define([
|
||||
onExportChanged: function(input, newValue, oldValue, e) {
|
||||
this._state.Export = undefined;
|
||||
if (this.api && !this._noApply && (newValue!==oldValue)) {
|
||||
newValue && this.api.SetCheckboxFieldExportValue(newValue);
|
||||
this.api.SetCheckboxFieldExportValue(newValue);
|
||||
if (!e.relatedTarget || (e.relatedTarget.localName != 'input' && e.relatedTarget.localName != 'textarea') || !/form-control/.test(e.relatedTarget.className))
|
||||
this.fireEvent('editcomplete', this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user