mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Parse float for seat tube height
This commit is contained in:
		
							parent
							
								
									e867366525
								
							
						
					
					
						commit
						55974feb4c
					
				| @ -8,7 +8,7 @@ $("#add_bike_submit").click(function(){ | |||||||
|       shop_id:            parseInt($("#shop_id").val()), |       shop_id:            parseInt($("#shop_id").val()), | ||||||
|       model:              $("#model").val(), |       model:              $("#model").val(), | ||||||
|       bike_style_id:      parseInt($('input[name=bike_style]:checked').val()), |       bike_style_id:      parseInt($('input[name=bike_style]:checked').val()), | ||||||
|       seat_tube_height:   parseInt($("#seat_tube_height").val()), |       seat_tube_height:   parseFloat($("#seat_tube_height").val()), | ||||||
|       bike_condition_id:  parseInt($('input[name=bike_condition]:checked').val()), |       bike_condition_id:  parseInt($('input[name=bike_condition]:checked').val()), | ||||||
|       bike_purpose_id:    1, |       bike_purpose_id:    1, | ||||||
|       bike_wheel_size_id: parseInt($("#bike_wheel_size_id").val()), |       bike_wheel_size_id: parseInt($("#bike_wheel_size_id").val()), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user