[SSE mobile] Fix Bug 55828
This commit is contained in:
parent
c1c2e97770
commit
119d97a873
|
@ -8,11 +8,7 @@ class EncodingController extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
const { t } = this.props;
|
|
||||||
const _t = t("View.Settings", { returnObjects: true });
|
|
||||||
|
|
||||||
this.valuesDelimeter = [4, 2, 3, 1, 5];
|
this.valuesDelimeter = [4, 2, 3, 1, 5];
|
||||||
this.namesDelimeter = [_t.txtComma, _t.txtSemicolon, _t.txtColon, _t.txtTab, _t.txtSpace];
|
|
||||||
this.onSaveFormat = this.onSaveFormat.bind(this);
|
this.onSaveFormat = this.onSaveFormat.bind(this);
|
||||||
this.closeModal = this.closeModal.bind(this);
|
this.closeModal = this.closeModal.bind(this);
|
||||||
this.state = {
|
this.state = {
|
||||||
|
@ -31,6 +27,9 @@ class EncodingController extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
initEncoding(type, advOptions, mode, formatOptions) {
|
initEncoding(type, advOptions, mode, formatOptions) {
|
||||||
|
const { t } = this.props;
|
||||||
|
const _t = t("View.Settings", { returnObjects: true });
|
||||||
|
|
||||||
if(type === Asc.c_oAscAdvancedOptionsID.CSV) {
|
if(type === Asc.c_oAscAdvancedOptionsID.CSV) {
|
||||||
Common.Notifications.trigger('preloader:close');
|
Common.Notifications.trigger('preloader:close');
|
||||||
Common.Notifications.trigger('preloader:endAction', Asc.c_oAscAsyncActionType['BlockInteraction'], -256, true);
|
Common.Notifications.trigger('preloader:endAction', Asc.c_oAscAsyncActionType['BlockInteraction'], -256, true);
|
||||||
|
@ -39,6 +38,7 @@ class EncodingController extends Component {
|
||||||
this.advOptions = advOptions;
|
this.advOptions = advOptions;
|
||||||
this.formatOptions = formatOptions;
|
this.formatOptions = formatOptions;
|
||||||
this.encodeData = [];
|
this.encodeData = [];
|
||||||
|
this.namesDelimeter = [_t.txtComma, _t.txtSemicolon, _t.txtColon, _t.txtTab, _t.txtSpace];
|
||||||
|
|
||||||
const recommendedSettings = this.advOptions.asc_getRecommendedSettings();
|
const recommendedSettings = this.advOptions.asc_getRecommendedSettings();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue