roojs-bootstrap.js
authorleon <leon@roojs.com>
Wed, 10 May 2023 02:32:48 +0000 (10:32 +0800)
committerleon <leon@roojs.com>
Wed, 10 May 2023 02:32:48 +0000 (10:32 +0800)
roojs-bootstrap-debug.js

roojs-bootstrap-debug.js
roojs-bootstrap.js

index 78ed3b3..1bd7ac2 100644 (file)
@@ -26060,6 +26060,7 @@ Roo.extend(Roo.bootstrap.form.Password, Roo.bootstrap.form.Input, {
         Roo.bootstrap.form.SecurePass.superclass.onRender.call(this, ct, position);
         Roo.log('ON RENDER');
         Roo.log(this.el);
+        Roo.log(this.el.select('input.form-control', true));
     },
 
     initEvents : function()
index 4d41bfb..e3d42c7 100644 (file)
@@ -1115,9 +1115,9 @@ break;}}}var E=0;for(var D=0;D<B.length;++D){if(B[D].fResult){++E;}}if(E<nb){ret
 },ClientSideWeakPassword:function(A){return this.IsLongEnough(A,6)||!this.IsLongEnough(A,0);}});
 // Roo/bootstrap/form/Password.js
 Roo.bootstrap.form.Password=function(A){Roo.bootstrap.form.Password.superclass.constructor.call(this,A);this.inputType='password';};Roo.extend(Roo.bootstrap.form.Password,Roo.bootstrap.form.Input,{onRender:function(ct,A){Roo.bootstrap.form.SecurePass.superclass.onRender.call(this,ct,A);
-Roo.log('ON RENDER');Roo.log(this.el);},initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);this.el.addClass('form-password');this.inputEl().addClass('password-hidden');this.inputEl().on('click',this.onPasswordClick,this);},onPasswordClick:function(e){var A=this.inputEl();
-if(e.getPageX()<A.getX()+A.getWidth()-30){return;}A.removeClass(['password-visible','password-hidden']);if(A.attr('type')=='password'){A.attr('type','text');A.addClass('password-visible');}else{A.attr('type','password');A.addClass('password-hidden');}}});
-
+Roo.log('ON RENDER');Roo.log(this.el);Roo.log(this.el.select('input.form-control',true));},initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);this.el.addClass('form-password');this.inputEl().addClass('password-hidden');this.inputEl().on('click',this.onPasswordClick,this);
+},onPasswordClick:function(e){var A=this.inputEl();if(e.getPageX()<A.getX()+A.getWidth()-30){return;}A.removeClass(['password-visible','password-hidden']);if(A.attr('type')=='password'){A.attr('type','text');A.addClass('password-visible');}else{A.attr('type','password');
+A.addClass('password-hidden');}}});
 // Roo/rtf/namespace.js
 Roo.rtf={};
 // Roo/rtf/Hex.js