Web interface: Fix leaving the room with hash in the name
This commit is contained in:
parent
00c5273fbb
commit
b11cb99ccd
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function show_list_rooms() {
|
|||
row += '<td>' + room.legacy_room + '</td>';
|
||||
row += '<td>' + room.legacy_server + '</td>';
|
||||
row += '<td>' + room.name + '</td>';
|
||||
row += '<td><a class="button_command" href="' + $.cookie("base_location") + 'api/v1/instances/leave_room/' + query.id + '?frontend_room=' + room.frontend_room + '">Leave</a></td>';
|
||||
row += '<td><a class="button_command" href="' + $.cookie("base_location") + 'api/v1/instances/leave_room/' + query.id + '?frontend_room=' + encodeURIComponent(room.frontend_room) + '">Leave</a></td>';
|
||||
row += '</tr>';
|
||||
|
||||
$("#main_result > tbody:last-child").append(row);
|
||||
|
|
Loading…
Add table
Reference in a new issue