Roo/bootstrap/SecurePass.js
authorKH Lau <khlau@roojs.com>
Mon, 27 Nov 2017 06:48:46 +0000 (14:48 +0800)
committerKH Lau <khlau@roojs.com>
Mon, 27 Nov 2017 06:48:46 +0000 (14:48 +0800)
Roo/bootstrap/SecurePass.js

index 810dcc6..fcc76b9 100644 (file)
@@ -96,6 +96,24 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
         this.wrap = this.el.wrap({cls: 'x-form-field-wrap'});
         this.trigger = this.wrap.createChild({tag: 'div', cls: 'StrengthMeter ' + this.triggerClass});
 
+        this.trigger.createChild({
+                  cn: [
+                    {
+                    //id: 'PwdMeter',
+                    tag: 'div',
+                    cls: 'roo-password-meter-grey col-xs-12',
+                    style: {
+                        //width: 0,
+                        //width: this.meterWidth + 'px'                                                
+                        }
+                    },
+                    {                           
+                        cls: 'roo-password-meter-text'                          
+                    }
+                ]            
+        });
+
+        /*
         this.trigger.createChild({
             tag: 'div',
             cls: 'roo-password-meter-container col-xs-12',
@@ -124,6 +142,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, {
                 ]                
             }
         });
+        */
         if (this.hideTrigger) {
             this.trigger.setDisplayed(false);
         }