Merge pull request #2143 from ONLYOFFICE/fix/bugfix
[DE] Check password length (fix for Safari - paste saved passwords)
This commit is contained in:
commit
3f2b2ea3aa
|
@ -114,7 +114,10 @@ define([
|
||||||
maxLength: 15,
|
maxLength: 15,
|
||||||
validateOnBlur: false,
|
validateOnBlur: false,
|
||||||
repeatInput: this.repeatPwd,
|
repeatInput: this.repeatPwd,
|
||||||
showPwdOnClick: true
|
showPwdOnClick: true,
|
||||||
|
validation : function(value) {
|
||||||
|
return (value.length>15) ? me.txtLimit : true;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.rbView = new Common.UI.RadioBox({
|
this.rbView = new Common.UI.RadioBox({
|
||||||
|
@ -230,7 +233,8 @@ define([
|
||||||
textView: 'No changes (Read only)',
|
textView: 'No changes (Read only)',
|
||||||
textForms: 'Filling forms',
|
textForms: 'Filling forms',
|
||||||
textReview: 'Tracked changes',
|
textReview: 'Tracked changes',
|
||||||
textComments: 'Comments'
|
textComments: 'Comments',
|
||||||
|
txtLimit: 'Password is limited to 15 characters'
|
||||||
|
|
||||||
}, DE.Views.ProtectDialog || {}));
|
}, DE.Views.ProtectDialog || {}));
|
||||||
});
|
});
|
||||||
|
|
|
@ -2644,6 +2644,7 @@
|
||||||
"DE.Views.ProtectDialog.txtRepeat": "Repeat password",
|
"DE.Views.ProtectDialog.txtRepeat": "Repeat password",
|
||||||
"DE.Views.ProtectDialog.txtTitle": "Protect",
|
"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.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.txtChartSettings": "Chart settings",
|
||||||
"DE.Views.RightMenu.txtFormSettings": "Form Settings",
|
"DE.Views.RightMenu.txtFormSettings": "Form Settings",
|
||||||
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and footer settings",
|
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and footer settings",
|
||||||
|
|
Loading…
Reference in a new issue