[DE] Check password length (fix for Safari - paste saved passwords)

This commit is contained in:
Julia Radzhabova 2022-12-16 16:15:22 +03:00
parent 2f18c95b5b
commit 90dbdd6e21
2 changed files with 7 additions and 2 deletions

View file

@ -114,7 +114,10 @@ define([
maxLength: 15,
validateOnBlur: false,
repeatInput: this.repeatPwd,
showPwdOnClick: true
showPwdOnClick: true,
validation : function(value) {
return (value.length>15) ? me.txtLimit : true;
}
});
this.rbView = new Common.UI.RadioBox({
@ -230,7 +233,8 @@ define([
textView: 'No changes (Read only)',
textForms: 'Filling forms',
textReview: 'Tracked changes',
textComments: 'Comments'
textComments: 'Comments',
txtLimit: 'Password is limited to 15 characters'
}, DE.Views.ProtectDialog || {}));
});

View file

@ -2644,6 +2644,7 @@
"DE.Views.ProtectDialog.txtRepeat": "Repeat password",
"DE.Views.ProtectDialog.txtTitle": "Protect",
"DE.Views.ProtectDialog.txtWarning": "Warning: If you lose or forget the password, it cannot be recovered. Please keep it in a safe place.",
"DE.Views.ProtectDialog.txtLimit": "Password is limited to 15 characters",
"DE.Views.RightMenu.txtChartSettings": "Chart settings",
"DE.Views.RightMenu.txtFormSettings": "Form Settings",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and footer settings",