X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a41baffe4f38019cb5b36875c5e0c838ef9201e5..707ed2964a24ebe940ae440af22fdcb56781fcbd:/apps/workbench/app/assets/javascripts/request_shell_access.js diff --git a/apps/workbench/app/assets/javascripts/request_shell_access.js b/apps/workbench/app/assets/javascripts/request_shell_access.js index c8cbe347fc..eb4fbc3901 100644 --- a/apps/workbench/app/assets/javascripts/request_shell_access.js +++ b/apps/workbench/app/assets/javascripts/request_shell_access.js @@ -1,19 +1,14 @@ -$(document). - on('click', "#request_shell_submit", function(e){ - $(this).html('Sending request ...'); - $(this).prop('disabled', true); - $('div').remove('.request_shell_access_failed'); +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 - $.ajax('/'). - success(function(data, status, jqxhr) { - $('div').remove('.no_shell_access_msg'); - $('.no_shell_access').append('
Request sent for shell access.
Something went wrong. Please try again.