Committer: dpetrov
LJSUP-6482: fix few bugsU trunk/htdocs/js/editprofile.js
Modified: trunk/htdocs/js/editprofile.js =================================================================== --- trunk/htdocs/js/editprofile.js 2010-09-10 09:02:14 UTC (rev 9486) +++ trunk/htdocs/js/editprofile.js 2010-09-10 09:42:33 UTC (rev 9487) @@ -61,9 +61,7 @@ var that = this; this.viewOptionsValue = ''; - //this.ui.provider.change(function(){ that.checkProvider(this.value); }); - var initial = true; this.ui.phInput.maskInput({ update: function(isok, isGoodDef) @@ -143,12 +141,10 @@ checkVerification: function(override) { override = override || ""; - if(override.length > 0) { this.processVerificationResult(override); return; } - var that = this; clearTimeout(this.verifyTimer); this.stopVerification = false; @@ -177,7 +173,8 @@ case 'verification_asked': this.setState('requestsent', 'success', 'reqsent'); this.checkVerification(); break; - case 'not_verified': this.setState('requestsent', 'success', 'reqsent'); + case 'not_verified': this.setState('correctNum', 'success', 'correctnum'); + break; } },