X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2Fform%2FSecurePass.js;h=e921d79187beaf7082498c0c85e16defd79e01e7;hb=d7b225294b7387a24fde8cf337415c8907ee351c;hp=bbb84ca8d1dfe44e7141f91fd649a183859c057a;hpb=d6ed930e56bd5857752de87eab7804e26d2eb766;p=roojs1 diff --git a/Roo/bootstrap/form/SecurePass.js b/Roo/bootstrap/form/SecurePass.js index bbb84ca8d1..e921d79187 100644 --- a/Roo/bootstrap/form/SecurePass.js +++ b/Roo/bootstrap/form/SecurePass.js @@ -6,8 +6,8 @@ */ /** - * @class Roo.bootstrap.SecurePass - * @extends Roo.bootstrap.Input + * @class Roo.bootstrap.form.SecurePass + * @extends Roo.bootstrap.form.Input * Bootstrap SecurePass class * * @@ -16,7 +16,7 @@ * @param {Object} config The config object */ -Roo.bootstrap.SecurePass = function (config) { +Roo.bootstrap.form.SecurePass = function (config) { // these go here, so the translation tool can replace them.. this.errors = { PwdEmpty: "Please type a password, and then retype it to confirm.", @@ -40,10 +40,10 @@ Roo.bootstrap.SecurePass = function (config) { this.errors = {}; - Roo.bootstrap.SecurePass.superclass.constructor.call(this, config); + Roo.bootstrap.form.SecurePass.superclass.constructor.call(this, config); } -Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { +Roo.extend(Roo.bootstrap.form.SecurePass, Roo.bootstrap.form.Input, { /** * @cfg {String/Object} errors A Error spec, or true for a default spec (defaults to * { @@ -88,7 +88,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { // private initEvents: function () { - Roo.bootstrap.SecurePass.superclass.initEvents.call(this); + Roo.bootstrap.form.SecurePass.superclass.initEvents.call(this); if (this.el.is('input[type=password]') && Roo.isSafari) { this.el.on('keydown', this.SafariOnKeyDown, this); @@ -99,7 +99,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { // private onRender: function (ct, position) { - Roo.bootstrap.SecurePass.superclass.onRender.call(this, ct, position); + Roo.bootstrap.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}); @@ -136,7 +136,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { if (this.wrap) { this.wrap.remove(); } - Roo.bootstrap.TriggerField.superclass.onDestroy.call(this); + Roo.bootstrap.form.TriggerField.superclass.onDestroy.call(this); }, // private checkStrength: function () @@ -173,7 +173,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { }, reset: function () { - Roo.bootstrap.SecurePass.superclass.reset.call(this); + Roo.bootstrap.form.SecurePass.superclass.reset.call(this); this._lastPwd = ''; @@ -190,7 +190,7 @@ Roo.extend(Roo.bootstrap.SecurePass, Roo.bootstrap.Input, { // private validateValue: function (value) { - if (!Roo.bootstrap.SecurePass.superclass.validateValue.call(this, value)) { + if (!Roo.bootstrap.form.SecurePass.superclass.validateValue.call(this, value)) { return false; } if (value.length == 0) {