Merge pull request #474 from ONLYOFFICE/fix/bug-46251

[SSE] Fix Bug 46251 (disable slicer name for several slicers)
This commit is contained in:
Julia Radzhabova 2020-08-20 13:30:07 +03:00 committed by GitHub
commit cafbf72ba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -458,7 +458,9 @@ define([ 'text!spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.tem
this.chShowNoData.setDisabled(checked || (this.chIndNoData.getValue()!='checked'));
this.chShowDel.setDisabled(checked);
this.inputName.setValue(slicerprops.asc_getName());
value = slicerprops.asc_getName();
this.inputName.setValue(value !== null && value !== undefined ? value : '');
this.inputName.setDisabled(value === null || value === undefined);
this.lblSource.text(slicerprops.asc_getSourceName());
this.lblFormula.text(slicerprops.asc_getNameInFormulas());