[SSE] Fix Bug 49257

This commit is contained in:
Julia Radzhabova 2021-05-05 19:13:21 +03:00
parent 5434d86eaa
commit 766d47e7af

View file

@ -142,7 +142,7 @@ define([
style : 'width: 100%;',
validation : function(value) {
var trimmed = $.trim(value);
if (trimmed.length>2083) return me.txtSizeLimit;
if (me.api.asc_getFullHyperlinkLength(trimmed)>2083) return me.txtSizeLimit;
var urltype = me.api.asc_getUrlType(trimmed);
me.isEmail = (urltype==2);