forked from External/greenlight
GRN2-xx: Admin actions are now dictated by the correct role permission (#1140)
* Admin actions are now dictated by the correct role permission * Rspec fix Co-authored-by: Jesus Federico <jesus@123it.ca>
This commit is contained in:
@ -162,7 +162,7 @@ function showUpdateRoom(target) {
|
||||
var modal = $(target)
|
||||
var update_path = modal.closest("#room-block").data("path")
|
||||
var settings_path = modal.data("settings-path")
|
||||
$("#create-room-name").val(modal.closest("#room-block").find("#room-name-text").text())
|
||||
$("#create-room-name").val(modal.closest("#room-block").find("#room-name-text").text().trim())
|
||||
$("#createRoomModal form").attr("action", update_path)
|
||||
|
||||
//show all elements & their children with a update-only class
|
||||
|
Reference in New Issue
Block a user