Fixed issue with form post action url (#364)

This commit is contained in:
farhatahmad 2019-02-06 17:07:36 -05:00 committed by Jesus Federico
parent d24e8fad14
commit 0b90e130c6
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ $(document).on('turbolinks:load', function(){
$(".update-room").click(function(){
var room_block_uid = $(this).closest("#room-block").data("room-uid")
$("#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
$(".update-only").each(function() {