Merge pull request #474 from ONLYOFFICE/fix/bug-46251
[SSE] Fix Bug 46251 (disable slicer name for several slicers)
This commit is contained in:
commit
cafbf72ba9
|
@ -458,7 +458,9 @@ define([ 'text!spreadsheeteditor/main/app/template/SlicerSettingsAdvanced.tem
|
||||||
this.chShowNoData.setDisabled(checked || (this.chIndNoData.getValue()!='checked'));
|
this.chShowNoData.setDisabled(checked || (this.chIndNoData.getValue()!='checked'));
|
||||||
this.chShowDel.setDisabled(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.lblSource.text(slicerprops.asc_getSourceName());
|
||||||
this.lblFormula.text(slicerprops.asc_getNameInFormulas());
|
this.lblFormula.text(slicerprops.asc_getNameInFormulas());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue