commit
6ac5a3372b
|
@ -133,7 +133,7 @@ define([
|
||||||
validateOnBlur: false,
|
validateOnBlur: false,
|
||||||
validation : function(value) {
|
validation : function(value) {
|
||||||
var trimmed = $.trim(value);
|
var trimmed = $.trim(value);
|
||||||
if (trimmed.length>2084) return me.txtSizeLimit;
|
if (trimmed.length>2083) return me.txtSizeLimit;
|
||||||
|
|
||||||
var urltype = me.api.asc_getUrlType(trimmed);
|
var urltype = me.api.asc_getUrlType(trimmed);
|
||||||
me.isEmail = (urltype==2);
|
me.isEmail = (urltype==2);
|
||||||
|
@ -459,6 +459,6 @@ define([
|
||||||
txtBeginning: 'Beginning of document',
|
txtBeginning: 'Beginning of document',
|
||||||
txtHeadings: 'Headings',
|
txtHeadings: 'Headings',
|
||||||
txtBookmarks: 'Bookmarks',
|
txtBookmarks: 'Bookmarks',
|
||||||
txtSizeLimit: 'This field is limited to 2084 characters'
|
txtSizeLimit: 'This field is limited to 2083 characters'
|
||||||
}, DE.Views.HyperlinkSettingsDialog || {}))
|
}, DE.Views.HyperlinkSettingsDialog || {}))
|
||||||
});
|
});
|
|
@ -1808,7 +1808,7 @@
|
||||||
"DE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
|
"DE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
|
||||||
"DE.Views.HyperlinkSettingsDialog.txtHeadings": "Headings",
|
"DE.Views.HyperlinkSettingsDialog.txtHeadings": "Headings",
|
||||||
"DE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
"DE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
||||||
"DE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
|
"DE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
|
||||||
"DE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
"DE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
||||||
"DE.Views.ImageSettings.textCrop": "Crop",
|
"DE.Views.ImageSettings.textCrop": "Crop",
|
||||||
"DE.Views.ImageSettings.textCropFill": "Fill",
|
"DE.Views.ImageSettings.textCropFill": "Fill",
|
||||||
|
|
|
@ -135,7 +135,7 @@ define([
|
||||||
style : 'width: 100%;',
|
style : 'width: 100%;',
|
||||||
validation : function(value) {
|
validation : function(value) {
|
||||||
var trimmed = $.trim(value);
|
var trimmed = $.trim(value);
|
||||||
if (trimmed.length>2084) return me.txtSizeLimit;
|
if (trimmed.length>2083) return me.txtSizeLimit;
|
||||||
|
|
||||||
var urltype = me.api.asc_getUrlType(trimmed);
|
var urltype = me.api.asc_getUrlType(trimmed);
|
||||||
me.isEmail = (urltype==2);
|
me.isEmail = (urltype==2);
|
||||||
|
@ -441,6 +441,6 @@ define([
|
||||||
txtLast: 'Last Slide',
|
txtLast: 'Last Slide',
|
||||||
textDefault: 'Selected text',
|
textDefault: 'Selected text',
|
||||||
textSlides: 'Slides',
|
textSlides: 'Slides',
|
||||||
txtSizeLimit: 'This field is limited to 2084 characters'
|
txtSizeLimit: 'This field is limited to 2083 characters'
|
||||||
}, PE.Views.HyperlinkSettingsDialog || {}))
|
}, PE.Views.HyperlinkSettingsDialog || {}))
|
||||||
});
|
});
|
|
@ -1388,7 +1388,7 @@
|
||||||
"PE.Views.HyperlinkSettingsDialog.txtNext": "Next Slide",
|
"PE.Views.HyperlinkSettingsDialog.txtNext": "Next Slide",
|
||||||
"PE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
"PE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
||||||
"PE.Views.HyperlinkSettingsDialog.txtPrev": "Previous Slide",
|
"PE.Views.HyperlinkSettingsDialog.txtPrev": "Previous Slide",
|
||||||
"PE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
|
"PE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
|
||||||
"PE.Views.HyperlinkSettingsDialog.txtSlide": "Slide",
|
"PE.Views.HyperlinkSettingsDialog.txtSlide": "Slide",
|
||||||
"PE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
"PE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
||||||
"PE.Views.ImageSettings.textCrop": "Crop",
|
"PE.Views.ImageSettings.textCrop": "Crop",
|
||||||
|
|
|
@ -142,7 +142,7 @@ define([
|
||||||
style : 'width: 100%;',
|
style : 'width: 100%;',
|
||||||
validation : function(value) {
|
validation : function(value) {
|
||||||
var trimmed = $.trim(value);
|
var trimmed = $.trim(value);
|
||||||
if (trimmed.length>2084) return me.txtSizeLimit;
|
if (trimmed.length>2083) return me.txtSizeLimit;
|
||||||
|
|
||||||
var urltype = me.api.asc_getUrlType(trimmed);
|
var urltype = me.api.asc_getUrlType(trimmed);
|
||||||
me.isEmail = (urltype==2);
|
me.isEmail = (urltype==2);
|
||||||
|
@ -565,6 +565,6 @@ define([
|
||||||
textGetLink: 'Get Link',
|
textGetLink: 'Get Link',
|
||||||
textCopy: 'Copy',
|
textCopy: 'Copy',
|
||||||
textSelectData: 'Select data',
|
textSelectData: 'Select data',
|
||||||
txtSizeLimit: 'This field is limited to 2084 characters'
|
txtSizeLimit: 'This field is limited to 2083 characters'
|
||||||
}, SSE.Views.HyperlinkSettingsDialog || {}))
|
}, SSE.Views.HyperlinkSettingsDialog || {}))
|
||||||
});
|
});
|
|
@ -2076,7 +2076,7 @@
|
||||||
"SSE.Views.HyperlinkSettingsDialog.textTitle": "Hyperlink Settings",
|
"SSE.Views.HyperlinkSettingsDialog.textTitle": "Hyperlink Settings",
|
||||||
"SSE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
|
"SSE.Views.HyperlinkSettingsDialog.txtEmpty": "This field is required",
|
||||||
"SSE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
"SSE.Views.HyperlinkSettingsDialog.txtNotUrl": "This field should be a URL in the \"http://www.example.com\" format",
|
||||||
"SSE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2084 characters",
|
"SSE.Views.HyperlinkSettingsDialog.txtSizeLimit": "This field is limited to 2083 characters",
|
||||||
"SSE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
"SSE.Views.ImageSettings.textAdvanced": "Show advanced settings",
|
||||||
"SSE.Views.ImageSettings.textCrop": "Crop",
|
"SSE.Views.ImageSettings.textCrop": "Crop",
|
||||||
"SSE.Views.ImageSettings.textCropFill": "Fill",
|
"SSE.Views.ImageSettings.textCropFill": "Fill",
|
||||||
|
|
Loading…
Reference in a new issue