forked from External/greenlight
Added data-disable to all button_to to fix double click issue (#923)
This commit is contained in:
committed by
farhatahmad
parent
8a8eee52fe
commit
eb965e5c52
@ -47,7 +47,7 @@
|
||||
<%= link_to room_path(room), class: "dropdown-item" do %>
|
||||
<i class="dropdown-icon far fa-eye"></i> <%= t("administrator.rooms.view") %>
|
||||
<% end %>
|
||||
<%= button_to start_room_path(room), class: "dropdown-item" do %>
|
||||
<%= button_to start_room_path(room), class: "dropdown-item", "data-disable": "" do %>
|
||||
<i class="dropdown-icon fas fa-door-open"></i> <%= running ? t("room.join") : t("room.start") %>
|
||||
<% end %>
|
||||
<a href="" data-toggle="modal" data-target="#createRoomModal" class="update-room dropdown-item">
|
||||
|
Reference in New Issue
Block a user