[DE] Check password length (fix for Safari - paste saved passwords)
This commit is contained in:
parent
2f18c95b5b
commit
90dbdd6e21
|
@ -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 || {}));
|
||||
});
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue