diff --git a/app/views/admin/procedures/transfer.js.erb b/app/views/admin/procedures/transfer.js.erb index 7dbdff4fe..5aa9d40a0 100644 --- a/app/views/admin/procedures/transfer.js.erb +++ b/app/views/admin/procedures/transfer.js.erb @@ -6,5 +6,5 @@ transfer_errors_message(false); $("#email_admin").val(''); - $("#transferModal button#cancel").click(); + $('[role=dialog]').modal('hide'); <%- end %>