X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=a458bcabc7ebf7bbe69c1f6129569388f88df932;hb=d46bd76e0bf4fe3166f501ee55aa03d031ac83e4;hp=555d7879b8f83f6e4403e6c107deeaa50a0a3c47;hpb=773992cef16c6c3e24118a33c765377b6cd5e5ed;p=roojs1 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 555d7879b8..a458bcabc7 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -26069,22 +26069,21 @@ Roo.bootstrap.form.Password = function(config){ Roo.extend(Roo.bootstrap.form.Password, Roo.bootstrap.form.Input, { - getAutoCreate : function() + onRender : function(ct, position) { - this.after = { - xns : Roo.bootstrap, - xtype : 'Button', - cls : 'password-toggle' - }; + Roo.bootstrap.form.SecurePass.superclass.onRender.call(this, ct, position); - return Roo.bootstrap.form.Password.superclass.getAutoCreate.call(this); - }, + this.el.addClass('form-password'); - initEvents : function() - { - Roo.bootstrap.form.Password.superclass.initEvents.call(this); + this.wrap = this.inputEl().wrap({ + cls : 'password-wrap' + }); + + this.toggle = this.wrap.createChild({ + tag : 'Button', + cls : 'password-toggle' + }); - this.el.addClass('form-password'); this.toggleEl().addClass('password-hidden');