[DE] Fix formula string
This commit is contained in:
parent
7e4f76e41d
commit
6da70788da
|
@ -189,7 +189,7 @@ define([
|
|||
});
|
||||
this.cmbFormat.setData(arr);
|
||||
var formula = this.api.asc_GetTableFormula(),
|
||||
idx = formula.lastIndexOf('/\#');
|
||||
idx = formula.lastIndexOf('\\#');
|
||||
this.inputFormula.setValue(formula.substring(0, (idx>-1) ? idx : formula.length));
|
||||
if (idx>-1)
|
||||
this.cmbFormat.setValue(formula.substring(idx+2, formula.length));
|
||||
|
@ -218,7 +218,7 @@ define([
|
|||
},
|
||||
|
||||
getSettings: function () {
|
||||
return (this.inputFormula.getValue() + '/\#' + this.cmbFormat.getValue());
|
||||
return (this.inputFormula.getValue() + '\\#' + this.cmbFormat.getValue());
|
||||
},
|
||||
|
||||
onBtnClick: function(event) {
|
||||
|
|
Loading…
Reference in a new issue