Added javascript needed to rename from all recordings (#390)

This commit is contained in:
farhatahmad
2019-03-05 17:04:14 -05:00
committed by Jesus Federico
parent ef8fc2c0e4
commit ab6655554c
5 changed files with 25 additions and 17 deletions

View File

@ -55,10 +55,7 @@ $(document).on('turbolinks:load', function(){
// Display and update all fields related to creating a room in the createRoomModal
$("#create-room").click(function(){
$("#create-room-name").val("")
var relative_url_root = window.location.pathname.split("/")[1];
$("#createRoomModal form").attr("action", "/" + relative_url_root)
$("#createRoomModal form").attr("action", $("body").data('relative-root'))
updateDropdown($(".dropdown-item[value='default']"))
$("#room_mute_on_join").prop("checked", false)