mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Sends update interests to _parent, avoiding 2x etherpad.
This commit is contained in:
		
							parent
							
								
									91e11655d8
								
							
						
					
					
						commit
						588cbe7580
					
				| @ -165,7 +165,7 @@ $(function(){ | |||||||
| 							 | 							 | ||||||
| 							if (volunteer_with_redeemed_hours_at_zero !== 0) {								 | 							if (volunteer_with_redeemed_hours_at_zero !== 0) {								 | ||||||
| 								$(".volunteer_hours_" + obj.contact_id). | 								$(".volunteer_hours_" + obj.contact_id). | ||||||
| 									html("Summary | <span class='update_interests'><a href='./contact_add_edit_select.php?contact_id=" +  | 									html("Summary | <span class='update_interests'><a target='_parent' href='./contact_add_edit_select.php?contact_id=" +  | ||||||
| 									obj.contact_id +  | 									obj.contact_id +  | ||||||
| 									"'>Update Interests</a></span>"). | 									"'>Update Interests</a></span>"). | ||||||
| 									parent().css({backgroundColor: "#19a0cc", textAlign: "center", cursor: "cell"}). | 									parent().css({backgroundColor: "#19a0cc", textAlign: "center", cursor: "cell"}). | ||||||
| @ -192,7 +192,7 @@ $(function(){ | |||||||
| 											"Volunteer Hours for last 365 days: None" + "\r\n"; | 											"Volunteer Hours for last 365 days: None" + "\r\n"; | ||||||
| 								 | 								 | ||||||
| 							$(".volunteer_hours_" + obj.contact_id). | 							$(".volunteer_hours_" + obj.contact_id). | ||||||
| 								html("<span class='update_interests'><a href='./contact_add_edit_select.php?contact_id=" +  | 								html("<span class='update_interests'><a target='_parent' href='./contact_add_edit_select.php?contact_id=" +  | ||||||
| 								obj.contact_id +  | 								obj.contact_id +  | ||||||
| 								"'>Update Interests</a></span>"). | 								"'>Update Interests</a></span>"). | ||||||
| 								parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | 								parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | ||||||
| @ -213,7 +213,7 @@ $(function(){ | |||||||
| 										"Volunteer Hours for last 365 days: None" + "\r\n"; | 										"Volunteer Hours for last 365 days: None" + "\r\n"; | ||||||
| 							 | 							 | ||||||
| 						$(".volunteer_hours_" + id). | 						$(".volunteer_hours_" + id). | ||||||
| 							html("<span class='update_interests'><a href='./contact_add_edit_select.php?contact_id=" +  | 							html("<span class='update_interests'><a target='_parent' href='./contact_add_edit_select.php?contact_id=" +  | ||||||
| 							id +  | 							id +  | ||||||
| 							"'>Update Interests</a></span>"). | 							"'>Update Interests</a></span>"). | ||||||
| 							parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | 							parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | ||||||
| @ -242,7 +242,7 @@ $(function(){ | |||||||
| 							"Volunteer Hours for last 365 days: None" + "\r\n"; | 							"Volunteer Hours for last 365 days: None" + "\r\n"; | ||||||
| 						 | 						 | ||||||
| 			$(".volunteer_hours_" + id). | 			$(".volunteer_hours_" + id). | ||||||
| 				html("<span class='update_interests'><a href='./contact_add_edit_select.php?contact_id=" +  | 				html("<span class='update_interests'><a target='_parent' href='./contact_add_edit_select.php?contact_id=" +  | ||||||
| 				id +  | 				id +  | ||||||
| 				"'>Update Interests</a></span>"). | 				"'>Update Interests</a></span>"). | ||||||
| 				parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | 				parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user