forked from External/greenlight
		
	Fixed issue with form post action url (#364)
This commit is contained in:
		
				
					committed by
					
						
						Jesus Federico
					
				
			
			
				
	
			
			
			
						parent
						
							d24e8fad14
						
					
				
				
					commit
					0b90e130c6
				
			@@ -76,7 +76,7 @@ $(document).on('turbolinks:load', function(){
 | 
				
			|||||||
  $(".update-room").click(function(){
 | 
					  $(".update-room").click(function(){
 | 
				
			||||||
    var room_block_uid = $(this).closest("#room-block").data("room-uid")
 | 
					    var room_block_uid = $(this).closest("#room-block").data("room-uid")
 | 
				
			||||||
    $("#create-room-name").val($(this).closest("tbody").find("#room-name h4").text())
 | 
					    $("#create-room-name").val($(this).closest("tbody").find("#room-name h4").text())
 | 
				
			||||||
    $("#createRoomModal form").attr("action", "/" + room_block_uid + "/update_settings")
 | 
					    $("#createRoomModal form").attr("action", room_block_uid + "/update_settings")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //show all elements & their children with a update-only class
 | 
					    //show all elements & their children with a update-only class
 | 
				
			||||||
    $(".update-only").each(function() {
 | 
					    $(".update-only").each(function() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user