mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 16:57:48 +08:00
@ -568,7 +568,7 @@ define([
|
||||
|
||||
initialize : function(options) {
|
||||
options = options || {};
|
||||
options.btnHint = options.btnHint || this.textHintShowPwd;
|
||||
options.btnHint = options.btnHint || (options.showPwdOnClick ? this.textHintShowPwd : this.textHintHold);
|
||||
options.iconCls = options.showCls || this.options.showCls;
|
||||
|
||||
Common.UI.InputFieldBtn.prototype.initialize.call(this, options);
|
||||
@ -656,7 +656,8 @@ define([
|
||||
}
|
||||
},
|
||||
textHintShowPwd: 'Show password',
|
||||
textHintHidePwd: 'Hide password'
|
||||
textHintHidePwd: 'Hide password',
|
||||
textHintHold: 'Press and hold to show password'
|
||||
}
|
||||
})(), Common.UI.InputFieldBtnPassword || {}));
|
||||
|
||||
|
||||
@ -208,7 +208,7 @@ define([
|
||||
hideCls: (this.options.iconType==='svg' ? 'svg-icon hide-password' : 'toolbar__icon btn-hide-password'),
|
||||
maxLength: this.options.maxPasswordLength,
|
||||
validateOnBlur: false,
|
||||
showPwdOnClick: true,
|
||||
showPwdOnClick: false,
|
||||
validation : function(value) {
|
||||
return me.txtIncorrectPwd;
|
||||
}
|
||||
|
||||
@ -111,7 +111,8 @@ define([
|
||||
style : 'width: 100%;',
|
||||
maxLength: 255,
|
||||
validateOnBlur: false,
|
||||
repeatInput: this.repeatPwd
|
||||
repeatInput: this.repeatPwd,
|
||||
showPwdOnClick: false
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@ -113,7 +113,7 @@ define([
|
||||
maxLength: 15,
|
||||
validateOnBlur: false,
|
||||
repeatInput: this.repeatPwd,
|
||||
showPwdOnClick: true,
|
||||
showPwdOnClick: false,
|
||||
validation : function(value) {
|
||||
return (value.length>15) ? me.txtLimit : true;
|
||||
}
|
||||
|
||||
@ -343,6 +343,7 @@
|
||||
"Common.UI.InputFieldBtnCalendar.textDate": "Select date",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHidePwd": "Hide password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintShowPwd": "Show password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHold": "Press and hold to show password",
|
||||
"Common.UI.SearchBar.textFind": "Find",
|
||||
"Common.UI.SearchBar.tipCloseSearch": "Close search",
|
||||
"Common.UI.SearchBar.tipNextResult": "Next result",
|
||||
|
||||
@ -434,6 +434,7 @@
|
||||
"Common.UI.HSBColorPicker.textNoColor": "No Color",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHidePwd": "Hide password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintShowPwd": "Show password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHold": "Press and hold to show password",
|
||||
"Common.UI.SearchBar.textFind": "Find",
|
||||
"Common.UI.SearchBar.tipCloseSearch": "Close search",
|
||||
"Common.UI.SearchBar.tipNextResult": "Next result",
|
||||
|
||||
@ -155,7 +155,7 @@ define([
|
||||
maxLength: 255,
|
||||
validateOnBlur: false,
|
||||
repeatInput: this.repeatPwd,
|
||||
showPwdOnClick: true
|
||||
showPwdOnClick: false
|
||||
});
|
||||
|
||||
if (this.type == 'sheet') {
|
||||
|
||||
@ -284,6 +284,7 @@
|
||||
"Common.UI.HSBColorPicker.textNoColor": "No Color",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHidePwd": "Hide password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintShowPwd": "Show password",
|
||||
"Common.UI.InputFieldBtnPassword.textHintHold": "Press and hold to show password",
|
||||
"Common.UI.SearchBar.textFind": "Find",
|
||||
"Common.UI.SearchBar.tipCloseSearch": "Close search",
|
||||
"Common.UI.SearchBar.tipNextResult": "Next result",
|
||||
|
||||
Reference in New Issue
Block a user