onRender: function (ct, position) {
Ext.form.SecurePass.superclass.onRender.call(this, ct, position);
this.wrap = this.el.wrap({cls: 'x-form-field-wrap'});
- this.trigger = this.wrap.createChild({tag: 'div', cls: 'StrengthMeter ' + this.triggerClass});
+ this.trigger = this.wrap.createChild({tag: 'div', cls: 'roo-strength-meter ' + this.triggerClass});
this.trigger.createChild({
tag: 'div',
return true;
}
- if ('[\x21-\x7e]*'.match(value)) {
+ if (value.match(/[\x21-\x7e]*/)) {
this.markInvalid(this.errors.PwdBadChar);
return false;
}