mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 04:04:41 +08:00
[SSE] Fix Bug 39813
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user