X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9fc99919d72ee495e66ce98584189c651cf994c1..8a2035547ad8bf6abad6a4a03bb0b59211a00932:/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 57e302697d..eb4fbc3901 100644 --- a/apps/workbench/app/assets/javascripts/request_shell_access.js +++ b/apps/workbench/app/assets/javascripts/request_shell_access.js @@ -1,18 +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.