X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=widgets%2FSecurePass.js;h=c4badf5cce8cc9eaa6899b7dd3dd804a74649ca2;hb=fe9899f276171dc9ef9bc4c1224be97e8ab104da;hp=e6a08bc76f748714d3c9a214ea1a5dacc36c9b68;hpb=735f0ede71f449dff3f09dbe62904082c3969444;p=Pman.Core diff --git a/widgets/SecurePass.js b/widgets/SecurePass.js index e6a08bc7..c4badf5c 100644 --- a/widgets/SecurePass.js +++ b/widgets/SecurePass.js @@ -71,13 +71,15 @@ Ext.extend(Ext.form.SecurePass, Ext.form.TextField, { // private initEvents : function(){ + Ext.form.SecurePass.superclass.initEvents.call(this); + if(this.el.is('input[type=password]') && Roo.isSafari){ this.el.on('keydown', this.SafariOnKeyDown, this); this.el.on("focus", function(){ this.setValue(''); }, this); } - Ext.form.SecurePass.superclass.initEvents.call(this); + this.el.on('keyup', this.checkStrength, this, {buffer:50}); },