[SSE] Change data range selection
This commit is contained in:
parent
4c27ca8b92
commit
4dc6c6bfc9
|
@ -146,8 +146,7 @@ define([
|
|||
return this.inputRange.getValue();
|
||||
},
|
||||
|
||||
onApiRangeChanged: function(info) {
|
||||
var name = info.asc_getName();
|
||||
onApiRangeChanged: function(name) {
|
||||
if (this.type == Asc.c_oAscSelectionDialogType.Function) {
|
||||
var oldlen = this._addedTextLength || 0,
|
||||
val = this.inputRange.getValue(),
|
||||
|
|
|
@ -149,11 +149,10 @@ define([
|
|||
return { selectionType: this.selectionType, range: this.inputRange.getValue()};
|
||||
},
|
||||
|
||||
onApiRangeChanged: function(info) {
|
||||
this.inputRange.setValue(info.asc_getName());
|
||||
onApiRangeChanged: function(name) {
|
||||
this.inputRange.setValue(name);
|
||||
if (this.inputRange.cmpEl.hasClass('error'))
|
||||
this.inputRange.cmpEl.removeClass('error');
|
||||
this.selectionType = info.asc_getType();
|
||||
},
|
||||
|
||||
isRangeValid: function() {
|
||||
|
@ -174,6 +173,9 @@ define([
|
|||
case Asc.c_oAscError.ID.MultiCellsInTablesFormulaArray:
|
||||
Common.UI.warning({msg: this.errorMultiCellFormula});
|
||||
break;
|
||||
case Asc.c_oAscError.ID.LargeRangeWarning:
|
||||
this.selectionType = Asc.c_oAscSelectionType.RangeMax;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue