[DE] Set max length of password for document protection
This commit is contained in:
parent
b17377a916
commit
5c0b841223
|
@ -207,6 +207,7 @@ define([
|
|||
type: 'password',
|
||||
showCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' btn-sheet-view',
|
||||
hideCls: (this.options.iconType==='svg' ? 'svg-icon' : 'toolbar__icon') + ' hide-password',
|
||||
maxLength: this.options.maxPasswordLength,
|
||||
validateOnBlur: false,
|
||||
showPwdOnClick: true,
|
||||
validation : function(value) {
|
||||
|
|
|
@ -147,6 +147,7 @@ define([
|
|||
type: Common.Utils.importTextType.DRM,
|
||||
txtOpenFile: me.view.txtWBUnlockDescription,
|
||||
validatePwd: false,
|
||||
maxPasswordLength: 15,
|
||||
handler: function (result, value) {
|
||||
btn = result;
|
||||
if (result == 'ok') {
|
||||
|
|
|
@ -99,7 +99,7 @@ define([
|
|||
type: 'password',
|
||||
allowBlank : true,
|
||||
style : 'width: 100%;',
|
||||
maxLength: 255,
|
||||
maxLength: 15,
|
||||
validateOnBlur: false,
|
||||
validation : function(value) {
|
||||
return me.txtIncorrectPwd;
|
||||
|
@ -111,7 +111,7 @@ define([
|
|||
type: 'password',
|
||||
allowBlank : true,
|
||||
style : 'width: 100%;',
|
||||
maxLength: 255,
|
||||
maxLength: 15,
|
||||
validateOnBlur: false,
|
||||
repeatInput: this.repeatPwd,
|
||||
showPwdOnClick: true
|
||||
|
|
Loading…
Reference in a new issue