roojs-bootstrap.js
authorleon <leon@roojs.com>
Thu, 4 May 2023 08:07:52 +0000 (16:07 +0800)
committerleon <leon@roojs.com>
Thu, 4 May 2023 08:07:52 +0000 (16:07 +0800)
roojs-bootstrap-debug.js

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

index 4647e6a..b98da3e 100644 (file)
@@ -26052,18 +26052,12 @@ Roo.bootstrap.form.Password = function(config){
 };
 
 Roo.extend(Roo.bootstrap.form.Password, Roo.bootstrap.form.Input, {
-    getAutoCreate : function()
-    {
-        var cfg = Roo.bootstrap.form.Password.superclass.getAutoCreate.call(this);
-        
-        Roo.log('GET AUTO CREATE');
-        Roo.log(cfg);
-        return cfg;
-    },
 
     initEvents : function()
     {   
         Roo.bootstrap.form.Password.superclass.initEvents.call(this);
+
+        this.inputEl().addClass('password-hidden');
     }
             // if(this.inputType == 'password') {
         //     this.inputEl().on('click', this.onPasswordClick, this);
index f7849eb..447ebe5 100644 (file)
@@ -1114,8 +1114,8 @@ pt.innerHTML=this.meterLabel+'&nbsp;'+this.pwdStrengths[B];this.errorMsg='';retu
 break;}}}var E=0;for(var D=0;D<B.length;++D){if(B[D].fResult){++E;}}if(E<nb){return false;}return true;},ClientSideStrongPassword:function(A){return this.IsLongEnough(A,8)&&this.SpansEnoughCharacterSets(A,3);},ClientSideMediumPassword:function(A){return this.IsLongEnough(A,7)&&this.SpansEnoughCharacterSets(A,2);
 },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);};Roo.extend(Roo.bootstrap.form.Password,Roo.bootstrap.form.Input,{getAutoCreate:function(){var A=Roo.bootstrap.form.Password.superclass.getAutoCreate.call(this);
-Roo.log('GET AUTO CREATE');Roo.log(A);return A;},initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);}});
+Roo.bootstrap.form.Password=function(A){Roo.bootstrap.form.Password.superclass.constructor.call(this,A);};Roo.extend(Roo.bootstrap.form.Password,Roo.bootstrap.form.Input,{initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);this.inputEl().addClass('password-hidden');
+}});
 // Roo/rtf/namespace.js
 Roo.rtf={};
 // Roo/rtf/Hex.js