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