[SSE] Fix applying separator
This commit is contained in:
parent
7b36d55cd1
commit
10db0f2bf5
|
@ -292,7 +292,7 @@ define([
|
||||||
|
|
||||||
var decimal = this.separatorOptions ? this.separatorOptions.decimal : undefined,
|
var decimal = this.separatorOptions ? this.separatorOptions.decimal : undefined,
|
||||||
thousands = this.separatorOptions ? this.separatorOptions.thousands : undefined,
|
thousands = this.separatorOptions ? this.separatorOptions.thousands : undefined,
|
||||||
qualifier = this.separatorOptions ? this.separatorOptions.qualifier : undefined;
|
qualifier = this.separatorOptions ? this.separatorOptions.qualifier : '"';
|
||||||
var options = new Asc.asc_CTextOptions(encoding, delimiter, delimiterChar);
|
var options = new Asc.asc_CTextOptions(encoding, delimiter, delimiterChar);
|
||||||
decimal && options.asc_setNumberDecimalSeparator(decimal);
|
decimal && options.asc_setNumberDecimalSeparator(decimal);
|
||||||
thousands && options.asc_setNumberGroupSeparator(thousands);
|
thousands && options.asc_setNumberGroupSeparator(thousands);
|
||||||
|
@ -553,7 +553,7 @@ define([
|
||||||
me.separatorOptions = {
|
me.separatorOptions = {
|
||||||
decimal: (value.decimal.length > 0) ? value.decimal : decimal,
|
decimal: (value.decimal.length > 0) ? value.decimal : decimal,
|
||||||
thousands: (value.thousands.length > 0) ? value.thousands : thousands,
|
thousands: (value.thousands.length > 0) ? value.thousands : thousands,
|
||||||
qualifier: (value.qualifier.length > 0) ? value.qualifier : qualifier
|
qualifier: value.qualifier
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -112,7 +112,7 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
var $window = this.getChild();
|
var $window = this.getChild();
|
||||||
$window.find('.btn').on('click', _.bind(this.onBtnClick, this));
|
$window.find('.dlg-btn').on('click', _.bind(this.onBtnClick, this));
|
||||||
|
|
||||||
this.afterRender();
|
this.afterRender();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue