[Movecommons-commits] r599 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Mon Feb 4 22:34:11 CET 2013


Author: mgallegos
Date: 2013-02-04 22:34:11 +0100 (Mon, 04 Feb 2013)
New Revision: 599

Modified:
   trunk/src/mc-dia-form2.css
   trunk/src/mc-dia-form2.js
Log:
CLOSED - DEFECT #499: Previous should be enabled even if I didn't click Yes/No

Modified: trunk/src/mc-dia-form2.css
===================================================================
--- trunk/src/mc-dia-form2.css	2013-01-22 17:52:21 UTC (rev 598)
+++ trunk/src/mc-dia-form2.css	2013-02-04 21:34:11 UTC (rev 599)
@@ -122,7 +122,9 @@
         font-size: 16px;
         line-height: 20px;
         float: right;
-        margin: 13px -25px;
+        /*margin: 13px -25px;*/
+        margin-right: -30px;
+		margin-top: 10px;
         width: 270px;
     }
     

Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2013-01-22 17:52:21 UTC (rev 598)
+++ trunk/src/mc-dia-form2.js	2013-02-04 21:34:11 UTC (rev 599)
@@ -625,10 +625,11 @@
 	});
 	
 	$j('#p_submit_second').click(function(){       
+			
+			//Uncomment the following lines to validate slide 2 when previous button is clicked
+			/*if(validations_step2())
+				return;*/
 		
-			if(validations_step2())
-				return;
-		
 			current_step='#first_step';
 			
 	        //update progress bar
@@ -674,8 +675,9 @@
 	
 	$j('#p_submit_third').click(function(){     
 		
-		if(validations_step3())
-			return;
+		//Uncomment the following lines to validate slide 3 when previous button is clicked
+		/*if(validations_step3())
+			return;*/
 		
 		current_step='#second_step';
 		
@@ -726,8 +728,9 @@
 	
 	$j('#p_submit_fourth').click(function(){    
 		
-		if(validations_step4())
-			return;
+		//Uncomment the following lines to validate slide 4 when previous button is clicked
+		/*if(validations_step4())
+			return;*/
 		
 		current_step='#third_step';		
 		
@@ -778,10 +781,11 @@
 	
 	});
 	
-	$j('#p_submit_fifth').click(function(){ //original 4
+	$j('#p_submit_fifth').click(function(){ 
 		
-		if(validations_step5())
-			return;
+		//Uncomment the following lines to validate slide 5 when previous button is clicked
+		/*if(validations_step5())
+			return;*/
 		
 		current_step='#fourth_step';
 			    	    
@@ -799,7 +803,7 @@
 	    $j('#fourth_step').slideDown();
 	});
 	
-	$j('#submit_fifth').click(function(){//original 4
+	$j('#submit_fifth').click(function(){
 		
 		if(validations_step5())
 			return;		    	    	    	    	    	    			




More information about the Movecommons-commits mailing list