Merge pull request #2074 from ONLYOFFICE/fix/bug-autoformat-tab-control

Fix bug tab control in autoformat settings page
This commit is contained in:
Julia Radzhabova 2022-11-21 23:33:45 +03:00 committed by GitHub
commit d74786174d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,9 +402,8 @@ define([ 'text!common/main/lib/template/AutoCorrectDialog.template',
var arr = [
this.chReplaceType, this.inputReplace, this.inputBy, this.mathList, this.btnReset, this.btnEdit, this.btnDelete, // 0 tab
this.inputRecFind, this.mathRecList, this.btnResetRec, this.btnAddRec, this.btnDeleteRec, // 1 tab
this.chHyperlink // 2 tab
];
arr = arr.concat(this.chNewRows ? [this.chNewRows] : [this.chQuotes, this.chHyphens, this.chBulleted, this.chNumbered]);
arr = arr.concat(this.chNewRows ? [this.chHyperlink, this.chNewRows] : [this.chQuotes, this.chHyphens, this.chHyperlink, this.chDoubleSpaces, this.chBulleted, this.chNumbered]);
arr = arr.concat(this.chFLSentence ? [this.chFLSentence, this.chFLCells] : []);
return arr;
},