[Movecommons-commits] r489 - trunk/src

Mario Gallegos mgallegos at ourproject.org
Tue Jun 5 23:13:41 CEST 2012


Author: mgallegos
Date: 2012-06-05 23:13:41 +0200 (Tue, 05 Jun 2012)
New Revision: 489

Modified:
   trunk/src/mc-dia-form2.js
Log:


Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js	2012-06-05 21:06:39 UTC (rev 488)
+++ trunk/src/mc-dia-form2.js	2012-06-05 21:13:41 UTC (rev 489)
@@ -672,17 +672,14 @@
 
 
     $j('#submit_fourth').click(function(){
-    	
-    	alert($j('#rc-checkbox').val());
-    	
-    	if($j('#rc-checkbox').val()=='A'){
-    		alert($j('#rc-checkbox').val());
+    	    	    	
+    	if($j('#rc-checkbox').val()=='A'){    	
     		$j('#step4question').effect("shake", { times:3 }, 50);
     		return;
     	}
     	    	
     	
-    	if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rc60.png'){
+    	if($j('#mc-form-icon-rc').attr('src')=='/mc/0.1/images/rc60.png' && $j('#rc-checkbox').val()=='S'){
     		 $j('#mc-form-optional-reinforcing').effect("shake", { times:3 }, 50);
     		 return;
     	}




More information about the Movecommons-commits mailing list