Roo/bootstrap/form/Input.js
authorleon <leon@roojs.com>
Thu, 4 May 2023 07:37:36 +0000 (15:37 +0800)
committerleon <leon@roojs.com>
Thu, 4 May 2023 07:37:36 +0000 (15:37 +0800)
Roo/bootstrap/form/Input.js

index 0f06452..6dc7097 100644 (file)
@@ -677,32 +677,8 @@ Roo.extend(Roo.bootstrap.form.Input, Roo.bootstrap.Component,  {
                 feedback.hide();
             }
         }
-
-
-        // if(this.inputType == 'password') {
-        //     this.inputEl().on('click', this.onPasswordClick, this);
-        // }
         
     },
-    // onPasswordClick : function(e) 
-    // {
-    //     var input = this.inputEl();
-
-    //     if(e.getPageX() < input.getX() + input.getWidth() - 30) {
-    //         return;
-    //     }
-
-    //     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');
-    //     }
-    // },
     filterValidation : function(e){
         if(!e.isNavKeyPress()){
             this.validationTask.delay(this.validationDelay);