mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 13:40:15 +08:00
[SSE] Fix data validation
This commit is contained in:
@ -370,7 +370,7 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ
|
||||
|
||||
onIgnoreChange: function(field, newValue, oldValue, eOpts) {
|
||||
if (!this._noApply) {
|
||||
this.props.asc_setAllowBlank(field.getValue()!=='checked');
|
||||
this.props.asc_setAllowBlank(field.getValue()=='checked');
|
||||
}
|
||||
},
|
||||
|
||||
@ -411,7 +411,7 @@ define([ 'text!spreadsheeteditor/main/app/template/DataValidationDialog.templ
|
||||
this._noApply = true;
|
||||
if (props) {
|
||||
var value = props.asc_getAllowBlank();
|
||||
this.chIgnore.setValue(!value, true);
|
||||
this.chIgnore.setValue(value, true);
|
||||
value = props.asc_getShowDropDown();
|
||||
this.chShowDropDown.setValue(!value, true);
|
||||
value = props.asc_getType();
|
||||
|
||||
Reference in New Issue
Block a user