{
var cfg = Roo.bootstrap.form.Password.superclass.getAutoCreate.call(this);
+ Roo.log('GET AUTO CREATE');
+ Roo.log(cfg);
return cfg;
},
{
Roo.bootstrap.form.Password.superclass.initEvents.call(this);
}
-});Roo.rtf = {}; // namespace
+});
+
+ // 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');
+ // }
+ // },Roo.rtf = {}; // namespace
Roo.rtf.Hex = function(hex)
{
this.hexstr = hex;
},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);
-return A;},initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);}});
+Roo.log('GET AUTO CREATE');Roo.log(A);return A;},initEvents:function(){Roo.bootstrap.form.Password.superclass.initEvents.call(this);}});
// Roo/rtf/namespace.js
Roo.rtf={};
// Roo/rtf/Hex.js