can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r9487: LJSUP-6482: fix few bugs

Committer: dpetrov
LJSUP-6482: fix few bugs
U   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;
 
 			}
 		},

Tags: can3p, js, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments