[SSE] Fix Bug 39813
This commit is contained in:
parent
b5c3dc1163
commit
2f044295b6
|
@ -155,12 +155,8 @@ define([
|
||||||
validateOnChange: true,
|
validateOnChange: true,
|
||||||
validateOnBlur: false,
|
validateOnBlur: false,
|
||||||
validation : function(value) {
|
validation : function(value) {
|
||||||
var isvalid = /^[A-Z]+[1-9]\d*:[A-Z]+[1-9]\d*$/.test(value);
|
var isvalid = me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.FormatTable, value, true);
|
||||||
|
if (isvalid == Asc.c_oAscError.ID.No) {
|
||||||
if (!isvalid)
|
|
||||||
isvalid = /^[A-Z]+[1-9]\d*$/.test(value);
|
|
||||||
|
|
||||||
if (isvalid) {
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return me.textInvalidRange;
|
return me.textInvalidRange;
|
||||||
|
|
Loading…
Reference in a new issue