this.inputEl().on('change', this.onChange, this);
- if(this.inputType == 'password') {
- this.inputEl().on('click', this.onPasswordClick, this);
- }
+ // if(this.inputType == 'password') {
+ // this.inputEl().on('click', this.onPasswordClick, this);
+ // }
},
- onPasswordClick : function(e)
- {
- var input = this.inputEl();
+ // onPasswordClick : function(e)
+ // {
+ // var input = this.inputEl();
- if(e.getPageX() < input.getX() + input.getWidth() - 30) {
- return;
- }
+ // if(e.getPageX() < input.getX() + input.getWidth() - 30) {
+ // return;
+ // }
- input.removeClass(['password-visible', 'password-hidden']);
+ // input.removeClass(['password-visible', 'password-hidden']);
- if(input.attr('type') == 'password') {
- input.attr('type', 'text');
- input.addClass('password-visible');
- }
- else {
- input.attr('type', 'password');
- input.addClass('password-hidden');
- }
- },
+ // if(input.attr('type') == 'password') {
+ // input.attr('type', 'text');
+ // input.addClass('password-visible');
+ // }
+ // else {
+ // input.attr('type', 'password');
+ // input.addClass('password-hidden');
+ // }
+ // },
filterValidation : function(e){
if(!e.isNavKeyPress()){
this.validationTask.delay(this.validationDelay);